nikosdimitrakas commented on PR #692:
URL: https://github.com/apache/struts/pull/692#issuecomment-1570538403
We combine s:url and a as below in order to get the url escaped correctly.
(We have complete urls provided by the users)
```
<s:url var="urlValue" value="%{url}"/>
<a href="${urlValue}">click me</a>
```
Without the s:url the escaping is wrong (s:property does not escape urls
correctly, s:a doesn't either). Unfortunately I do not remember the exact
characters that were mishandled without s:url.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]