Hyperlink creation fail for encrypted URL in Rich Text Editor component
When i try to create a Hyperlink using a RichTextEditor component its fail for Encryped URL links?
URL's with %20 in it fails?
I tried to decode the URL and used the decoded URL to create Hyperlink, But still it fails.
Does AEM allows to create a Hyperlink for Encrypted URL's links.
Any help in this regard is really helpfull.
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Generally Java/AEM does not itself encode or decode any URL according to the escaping mechanism defined in RFC2396. It is the responsibility of the caller/author to encode any fields, which need to be escaped prior to storing/calling URL. The oracle statement at [1] & holds good here also. However there was product bug where sidekick was breaking because of that & the bug CQ-30149 has been logged. If you want authors to allow % then at project level write own transformer.
[1] http://docs.oracle.com/javase/7/docs/api/java/net/URL.html
Views
Replies
Total Likes
Generally Java/AEM does not itself encode or decode any URL according to the escaping mechanism defined in RFC2396. It is the responsibility of the caller/author to encode any fields, which need to be escaped prior to storing/calling URL. The oracle statement at [1] & holds good here also. However there was product bug where sidekick was breaking because of that & the bug CQ-30149 has been logged. If you want authors to allow % then at project level write own transformer.
[1] http://docs.oracle.com/javase/7/docs/api/java/net/URL.html
Views
Replies
Total Likes