You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2007/12/07 16:27:43 UTC

[jira] Commented: (DIRMINA-491) Encoded ampersands in URLs terminate parameters

    [ https://issues.apache.org/jira/browse/DIRMINA-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549438 ] 

Trustin Lee commented on DIRMINA-491:
-------------------------------------

I tried to reproduce this problem by using the lightweight HTTP server example in the sandbox and the http codec in the trunk, but I failed to reproduce your problem.  I get the correct parameter value from the query string you specified.  Are you using trunk, or something in the sandbox?  I hope you are not using older revision.

> Encoded ampersands in URLs terminate parameters
> -----------------------------------------------
>
>                 Key: DIRMINA-491
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-491
>             Project: MINA
>          Issue Type: Bug
>          Components: Protocol - HTTP
>    Affects Versions: 2.0.0-M1
>         Environment: Linux
>            Reporter: Ben Marklein
>
> When the following URL is decoded by Asyncweb:
> /snd?r=07390736D7774A7BDC71AB9CD68B163B&i=108&l=1&s=%7B%22msg_type%22%3A%22chat%22%2C%22content%22%3A%7B%22text%22%3A%22that's%20a%20beautiful%20B%26W%20Lara%22%2C%22sender_display_id%22%3A%22chat_175%22%7D%7D&u=1196959695588
> the parameter s should decode to:
> {"msg_type":"chat","content":{"text":"that's a beautiful B&W Lara","sender_display_id":"chat_175"}}
> instead HttpRequest.getParameter("s") truncates before the ampersand:
> {"msg_type":"chat","content":{"text":"that's a beautiful B

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.