You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Leon (JIRA)" <ji...@apache.org> on 2015/04/23 10:42:38 UTC

[jira] [Updated] (OFBIZ-6292) If enable multitenant, none-ASCII characters within a from are incorrectly encode/decoded after posted

     [ 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)