Did you use Antiforgery in Controller and View? In general, Antiforgery is generated in View by Get Request and sent to Server to be validated by Post Request. If you did not configure anyting to change Antiforgery, the request should not fail due to Antiforery....
Another option is to keep a separate copy of what you want to retain in the input and set that as the value. You can use whichever one you choose in your submit handler. This works well for me and I get the unaltered copy and the validated copy in scope, as well as all the intere...
Introduce a small, syntax-validated, unchanging "loader script" that will always work and wrap the real target script, e.g.: phantom.onError = function(msg, trace) { var msgStack = ['PHANTOM ERROR: ' + msg]; if (trace && trace.length) { msgStack.push('TRACE:'); trace.forEach(fu...
If the signed commit cannot be validated, the front end should get the data it needs to Render the repository as usual. Show problematic commits as unvalidated Pass up information to help troubleshoot why not. Relevant logs and/or screenshots ...