[Seaside] WAUrl class>>#decodePercent:

Philippe Marschall philippe.marschall at gmail.com
Tue Aug 27 16:34:35 UTC 2013


On Thu, Aug 22, 2013 at 7:26 AM, jtuchel at objektfabrik.de
<jtuchel at objektfabrik.de> wrote:
> Hi,
>
> I just stumbled across a problem when processing an Ajax callback for a
> specialized autocompleter. I get a server side "Index out of range" if I
> enter a String ending with $% into the textInput (which I have to supress
> anyways, but that is another story).
>
> The problem is in WAUrl class>>#decodePercent: . the method doesn't check if
> the percent character is the last in the url string.
>
> You can recreate the problem by evaluating
>
> WAUrl decodePercent: 'abc%'
>
> Please note that in Pharo 2.0 I get another exception (receiver of
> asUpppercase is nil), but still this doesn't work. So I guess my code ( I am
> using VA Smalltalk and its older version of Seaside) would also fail on the
> current stable Seaside version.

Sorry I somehow missed this thread. Who is sending #decodePercent: to
WAUrl message? Can you provide a stack trace?

Cheers
Philippe


More information about the seaside mailing list