Thanks for the info. I will check if this is the case. So I guess 
I don't need to worry about my own URL encoding then.

On Thursday, 12 July 2012 19:32:48 UTC+10, Thomas Broyer wrote:
>
>
> On Thursday, July 12, 2012 12:28:10 AM UTC+2, kohlerfc wrote:
>>
>> Hey guys,
>>
>> I originally posted this on the GWTP forums but they seemed to think that 
>> it might be a GWT issue.
>>
>> Im having issues when I try to use URL.encodeQueryString() on %. 
>> Basically it shows up in my browser url as %252525 rather then %25.  Is 
>> this a known bug in GWTP or in GWT? I have debugged down deep into GWTP and 
>>  the parameter seems to be set at %25 all the way along(as far as I could 
>> debug).
>>
>> Also it seems to come back through gwtp as place request parameter with a 
>> value of %25 which is what I expect . So I just use the 
>> URL.decodeQueryString() and it works fine for now... 
>>
>> Any help would be appreciated.
>>
>
> In which context are you using that value?
> History.newItem also does a bit of sanitization/encoding, and then your 
> browser can decide whether it shows you the %-encoded text or not. Note 
> however that History.newItem is supposed to work with any kind of value, so 
> if you give it "%25" it's very likely (I haven't looked at the code for 
> ages) it'll encode the "%" and thus give you "%2525".
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/osGZZGoZj94J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to