I searched and searched, and it destroys me. I have it:
<s:form method="post" action="%{methodOne}" cssClass="buttons">
EmailFormUrl correctly returns the URL, but the parameters have been deleted.
public String methodOne() { return anotherClass.methodTwo(id); }
What says about:
public static String methodTwo( String id) { return fastEncode("", "longurl/view.jsp", new ParameterPairing("id", id)); }
For some reason, the identifier is lost, this leaves me with a verification error and does not perform the required action. As far as I know, before the July urgent security update, we had no problems, but this is a little functionality that is rarely used (I assume the argument for its removal).
I donβt want to add a hidden parameter, because I want to understand the reason why this does not work, and not the workaround (I'm still in the hard training part of my career).
Phish source share