You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
CU,
Joachim
Original issue reported on code.google.com by step...@stack.nl on 22 Aug 2013 at 11:02
The text was updated successfully, but these errors were encountered:
The difference in behavior between VA Smalltalk and Pharo is due to an
underlying difference in how the 2 system handle reading past the end of a
ReadStream: VA Smalltalk signals an error while Pharo answers nil. Since the
ANSI standard says that the behavior associated with reading past the end of a
ReadStream is implementation-defined, both Pharo and VA Smalltalk seem to be OK
in this regard.
Original comment by wemb...@instantiations.com on 6 Sep 2013 at 8:50
Original issue reported on code.google.com by
step...@stack.nl
on 22 Aug 2013 at 11:02The text was updated successfully, but these errors were encountered: