[ 
https://issues.apache.org/jira/browse/OFBIZ-6292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leon updated OFBIZ-6292:
------------------------
    Description: 
Everything is ok if you leave "multitenant" configuration untouched  (the 
default value is "N") in file general.properties.

But if you enable this instruction (multitenant=Y), and input any multi-bytes 
characters into text box of a query form, after submit (in POST method), the 
characters you input became messy.

e.g. 
1. open findparty page (https://localhost:8443/partymgr/control/findparty)
2. try to search party which last name contains "€" (input € into last name 
text-box)
3. click find button, after the query finishes, the page will refresh. you will 
notice that the characters in last name text-box is not "€" but something messy 
like "�"

Note that there's no problem if form submits in GET method.


  was:
Everything is ok if you leave "multitenant" configuration untouched in 
general.properties file (the default value is "N").

But if you enable this instruction (multitenant=Y), and input any multi-bytes 
characters into text box of a query form, after submit (in POST method), the 
characters you input became messy.

e.g. 
1. open findparty page (https://localhost:8443/partymgr/control/findparty)
2. try to search party which left name contains "€" (input € into left name 
text box)
3. click find button, after the query finishes, the page will refresh. you will 
notice that the characters in left name textbox is not "€" but something messy 
like "�"

Note that there's no problem if form submits in GET method.



> If enable multitenant, none-ASCII characters within a from are incorrectly 
> encode/decoded after posted
> ------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-6292
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6292
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Leon
>
> Everything is ok if you leave "multitenant" configuration untouched  (the 
> default value is "N") in file general.properties.
> But if you enable this instruction (multitenant=Y), and input any multi-bytes 
> characters into text box of a query form, after submit (in POST method), the 
> characters you input became messy.
> e.g. 
> 1. open findparty page (https://localhost:8443/partymgr/control/findparty)
> 2. try to search party which last name contains "€" (input € into last name 
> text-box)
> 3. click find button, after the query finishes, the page will refresh. you 
> will notice that the characters in last name text-box is not "€" but 
> something messy like "�"
> Note that there's no problem if form submits in GET method.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to