[Seaside] %2B instead of spaces

Johan Brichau johan at inceptive.be
Wed Mar 11 08:01:51 UTC 2015


I’m sure it is, but you should never get an issue with that in a Seaside callback. Seaside takes care of encodings so you should not.
So, if there is an issue somewhere, we would like to know so you do not have to work around it.

If it was something in your code, then I’m glad you fixed it.

cheers
Johan

> On 11 Mar 2015, at 04:15, Laura Risani <laura.risani at gmail.com> wrote:
> 
> Thank you for your offering, but just found the solution. 
> It was an enconding problem after all.
> 
> 
> On Tue, Mar 10, 2015 at 7:03 PM, Johan Brichau <johan at inceptive.be <mailto:johan at inceptive.be>> wrote:
> Can you check which adaptor and which versions of the concerned packages you are using?
> If we can reconstruct the issue with a code sample, we can see what is happening.
> 
> Johan
> 
>> On 07 Mar 2015, at 00:28, Laura Risani <laura.risani at gmail.com <mailto:laura.risani at gmail.com>> wrote:
>> 
>> Hi,
>> 
>> Tried changing app charset but didn't change a thing.
>> Perhaps it has something to do with the adaptor i'm using, changes i made.
>> Yet retrieving the textArea value through a script gives the right text, so i'll do that it until the case i found another solution.
>> 
>> Best,
>> Laura
>> 
>> On Fri, Mar 6, 2015 at 6:14 PM, Tobias Pape <Das.Linux at gmx.de <mailto:Das.Linux at gmx.de>> wrote:
>> Hi,
>> 
>> On 06.03.2015, at 22:06, Bob Arning <arning315 at comcast.net <mailto: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 <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 <mailto:seaside at lists.squeakfoundation.org>
>> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside <http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside>
>> >
>> > _______________________________________________
>> > seaside mailing list
>> > seaside at lists.squeakfoundation.org <mailto:seaside at lists.squeakfoundation.org>
>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside <http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside>
>> 
>> 
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org <mailto:seaside at lists.squeakfoundation.org>
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside <http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside>
>> 
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org <mailto:seaside at lists.squeakfoundation.org>
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside <http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside>
> 
> 
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org <mailto:seaside at lists.squeakfoundation.org>
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside <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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20150311/31d6aee1/attachment.htm


More information about the seaside mailing list