[
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