[Seaside] %2B instead of spaces

Tobias Pape Das.Linux at gmx.de
Fri Mar 6 21:14:44 UTC 2015


Hi,

On 06.03.2015, at 22:06, Bob Arning <arning315 at comcast.net> wrote:

> Well, %2B is the "+", so it's not even what you entered, encoded or not. I did notice you were having some issues related to encoding a few days ago. Could those have something to do with this problem?

This could be a double encoding problem:
in Form-urlencoded requests, a space can be represented by a + [1]
but apparently, the + then got urlencoded itself.

note the + is a space only in the _query_ of the request.

Best
	-Tobias



[1] http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1

> 
> On 3/6/15 1:52 PM, Laura Risani wrote:
>> Hi all,
>> 
>> Having rendered this
>> 
>> html textArea callback: [ :value | self actionWith: value ]; ...
>> 
>> When the callback is processed the value argument has all white spaces (inputed pressing the space key) replaced by '%2B'.
>> 
>> Should i change them manually or there is another way to fix it?
>> 
>> I'm not sure this happened before i removed development tools sending
>> 
>> WAAdmin applicationDefaults
>>     removeParent: WADevelopmentConfiguration instance.
>> 
>> 
>> Love,
>> Laura
>> 
>> 
>> _______________________________________________
>> seaside mailing list
>> 
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




More information about the seaside mailing list