Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
URLHelper#buildUrl provides a parameter called forceAddSchemeHostAndPort, that is not settable from s:url tags (according to http://struts.apache.org/2.x/docs/url.html).
./core/src/main/java/org/apache/struts2/components/URL.java uses :
result = UrlHelper.buildUrl(_value, req, res, parameters, scheme, includeContext, encode);
where it could use the following prototype :
UrlHelper#buildUrl(String action, HttpServletRequest request, HttpServletResponse response, Map params, String scheme, boolean includeContext, boolean encodeResult, boolean forceAddSchemeHostAndPort)
Regards,
Sami Dalouche