[ ] AEM Version, including Service Packs, Cumulative Fix Packs, etc: 6.5.21 on prem
[ ] ACS AEM Commons Version: 6.6.4
[ ] Reproducible on Latest? yes
Expected Behavior
When rewriting url's using the StaticReferenceRewriteTransformerFactory, I expect correct url's, also when we configure a specific host scheme
Actual Behavior
When we configure a host scheme in OSGi, the rewriter (for our Campaign mails) adds a duplicate scheme to the url, resulting url's like https:https://wcmassets-f.mycompany.com/content/dam/my-image.jpeg
Steps to Reproduce (not verified)
Install AAC 6.6.4
Create a StaticReferenceRewriteTransformerFactory config and specify a host scheme (https), and set replacehOst to true
generate content that is being rewritten and see the https:https
Required Information
Expected Behavior
When rewriting url's using the StaticReferenceRewriteTransformerFactory, I expect correct url's, also when we configure a specific host scheme
Actual Behavior
When we configure a host scheme in OSGi, the rewriter (for our Campaign mails) adds a duplicate scheme to the url, resulting url's like
https:https://wcmassets-f.mycompany.com/content/dam/my-image.jpeg
Steps to Reproduce (not verified)
https:https
Links
Offending code snippet