RenderResponse.encodeURL Returns a URL that is HTTP Whereas the Request Scheme Should be HTTPS
(Doc ID 970251.1)
Last updated on FEBRUARY 18, 2025
Applies to:
Oracle WebLogic Portal - Version 10.3.0 to 10.3.2 [Release AS10gR3]Information in this document applies to any platform.
Symptoms
While creating an image link using the method RenderResponse.encodeURL(String), it generates a link with 'http' protocol, even for the https requests.
Here is the example code snippet used to create the url using RenderResponse.encodeURL(String) method.
<img src="<%=renderResponse.encodeURL(renderRequest.getContextPath()+ "/img/dashboard/Image_name.gif")%>" alt="seriousDeviation" title="seriousDeviation"/>
It causes images not to render properly for https requests.
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! |