<s:form action="">: Action setting is ignored
---------------------------------------------
Key: WW-2634
URL: https://issues.apache.org/struts/browse/WW-2634
Project: Struts 2
Issue Type: Bug
Components: Plugin - Tags
Affects Versions: 2.0.11.1
Reporter: Graham Leggett
If an attempt is made to embed the following tag:
<s:form action="">
...stuff...
</s:form>
It renders the output:
<form id=";jsessionid=snip" onsubmit="return true;"
action="https://www.example.com/statement/;jsessionid=snip" method="post">
...stuff...
</form>
The action, when explicitly set to "", should be output as "".
This breaks applications that are hidden behind proxies, or are embedded within
Apache mod_include pages, that need to post back to the original URL, without
knowing what that original URL is.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.