[jira] [Commented] (OFBIZ-10816) URL not encoding in FTL

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-10816) URL not encoding in FTL

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-10816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16761639#comment-16761639 ]

Pawan Verma commented on OFBIZ-10816:
-------------------------------------

I am able to regenerate this issue on latest trunk. I have used UtilHttp.urlEncodeArgs method to encode parameters. Attaching patch for the issue for latest trunk, it will be the same for other releases also.

> URL not encoding in FTL
> ------------------------
>
>                 Key: OFBIZ-10816
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10816
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: Release Branch 16.11
>            Reporter: Murugeswari
>            Assignee: Pawan Verma
>            Priority: Major
>         Attachments: OFBIZ-10816.patch
>
>
> Hi,
> I have created Product as TEST#01 in [demo site|https://demo-trunk.ofbiz.apache.org/catalog/control/EditProduct?productId=TEST%2301] and attached the Same to category 101. In the category master searched for category 101 went to product tab, when I am trying to open a product master, link is generated [like|https://demo-trunk.ofbiz.apache.org/catalog/control/EditProduct?productId=TEST#01] and asking for creating new product. But in product search and menu click is working fine problem is from ftl url are not getting encoded...Don`t know whats happening on FTL printing....



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)