|
Jyoti Sharma created OFBIZ-5043:
----------------------------------- Summary: Outbound rules not working when protocols switch Key: OFBIZ-5043 URL: https://issues.apache.org/jira/browse/OFBIZ-5043 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: Release 10.04 Reporter: Jyoti Sharma Fix For: Release Branch 10.04 When i worked with Url Rewrite Filter, i faced the following issue:- In case of http protocol in the url, https links on th epage were not being rewritten and when their was https url, http links were not rewritten. The issue behind this what i found is that in RequestHandler.java encodeUrl() is not called in the above given case. So, if we place response.encodeUrl() their the issue is resolved. Hence, i am submitting the patch regarding this. Jyoti Sharma -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
[ https://issues.apache.org/jira/browse/OFBIZ-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jyoti Sharma updated OFBIZ-5043: -------------------------------- Attachment: RequestHandler.java.patch Patch regarding Url Rewrite Filter issue. > Outbound rules not working when protocols switch > ------------------------------------------------ > > Key: OFBIZ-5043 > URL: https://issues.apache.org/jira/browse/OFBIZ-5043 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: Release 10.04 > Reporter: Jyoti Sharma > Labels: patch > Fix For: Release Branch 10.04 > > Attachments: RequestHandler.java.patch > > > When i worked with Url Rewrite Filter, i faced the following issue:- > In case of http protocol in the url, https links on th epage were not being rewritten and when their was https url, http links were not rewritten. > The issue behind this what i found is that in RequestHandler.java encodeUrl() is not called in the above given case. > So, if we place response.encodeUrl() their the issue is resolved. > Hence, i am submitting the patch regarding this. > Jyoti Sharma -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-5043. ---------------------------------- Assignee: Jacques Le Roux Thanks Jyoti, Your patch is in trunk r1394995 R12.04 r1394996 R11.04 r1395036 R10.04 r1395084 > Outbound rules not working when protocols switch > ------------------------------------------------ > > Key: OFBIZ-5043 > URL: https://issues.apache.org/jira/browse/OFBIZ-5043 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: Release 10.04 > Reporter: Jyoti Sharma > Assignee: Jacques Le Roux > Labels: patch > Fix For: Release Branch 10.04 > > Attachments: RequestHandler.java.patch > > > When i worked with Url Rewrite Filter, i faced the following issue:- > In case of http protocol in the url, https links on th epage were not being rewritten and when their was https url, http links were not rewritten. > The issue behind this what i found is that in RequestHandler.java encodeUrl() is not called in the above given case. > So, if we place response.encodeUrl() their the issue is resolved. > Hence, i am submitting the patch regarding this. > Jyoti Sharma -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux updated OFBIZ-5043: ----------------------------------- Fix Version/s: Release Branch 12.04 SVN trunk Release Branch 11.04 > Outbound rules not working when protocols switch > ------------------------------------------------ > > Key: OFBIZ-5043 > URL: https://issues.apache.org/jira/browse/OFBIZ-5043 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: Release 10.04 > Reporter: Jyoti Sharma > Assignee: Jacques Le Roux > Labels: patch > Fix For: Release Branch 10.04, Release Branch 11.04, SVN trunk, Release Branch 12.04 > > Attachments: RequestHandler.java.patch > > > When i worked with Url Rewrite Filter, i faced the following issue:- > In case of http protocol in the url, https links on th epage were not being rewritten and when their was https url, http links were not rewritten. > The issue behind this what i found is that in RequestHandler.java encodeUrl() is not called in the above given case. > So, if we place response.encodeUrl() their the issue is resolved. > Hence, i am submitting the patch regarding this. > Jyoti Sharma -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
| Free forum by Nabble | Edit this page |
