Vanity URLs Retreived in Controller using AssetReader are URL-Encoded in Live Mode but URL-Decoded in Preview Mode
(Doc ID 2369815.1)
Last updated on JULY 02, 2024
Applies to:
Oracle WebCenter Sites - Version 12.2.1.2.0 and laterInformation in this document applies to any platform.
Symptoms
When using AssetReader to retrieve Blob Vanity URL, it is not url-encoded when rendermode=preview.
For example:
- Suppose you have a vanity url for a blob attribute named TestBlobAttr: example(1).jpg
The blob is retrieved from a Controller using AssetReader:
e.g.
And then rendered in the Template code, like the following:
e.g.
<img src="${image.TestBlobAttr_bloblink_}" />
When rendered with rendermode=live, the url is rendered in the html as url-encoded:
e.g. example(1).jpg
When rendered with rendermode=preview, the url is rendered in the html without being url-encoded:
e.g. example(1).jpg
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |