Swazoo and encoding patch

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Swazoo and encoding patch

Nicolas Petton
Hi,

I found a bug in Swazoo with encoding post.
How to reproduce it (with seaside for example): put a character like "é"
or "à" in an input field.

You'll get an error message like this one:

SystemExceptions.ArgumentOutOfRange class>>signalOn:mustBeBetween:and:
(AnsiExcept.st:780)
String(Object)>>checkIndexableBounds:put: (Object.st:805)
String>>at:put: (String.st:293)
WriteStream>>nextPut: (WriteStream.st:93)
[] in Swazoo.HTTPString class>>decodedHTTPFrom:
(Swazoo.star#VFS.ZipFile/HTTP.st:740)


I fixed it, without searching deeply where the bug came from though (see
the attached file).

Cheers!

Nico

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

HTTP.patch (1K) Download Attachment
signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Swazoo and encoding patch

Paolo Bonzini-2

> I fixed it, without searching deeply where the bug came from though (see
> the attached file).

No no, it's correct -- see the recent messages between me and Stephen.
I applied the patch.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk