Welcome Guest, Not a member yet? Register   Sign In
Overwrite XSS-Check Failure Page
#1

[eluser]Florian Müller[/eluser]
Hi guys

I found that if the XSS-Key is not passed regularily (this happens sometimes in my application, never reproducible) and the error message "An error was encountered. The Action you have requested is not allowed." shows up.

Is it somehow possible to overwrite this behaviour and, for example, redirect to a specific url, for example this:

Code:
function overwriteXSSError() {
    redirect('myController/error/xss');
}

Is this realized somehow?

Thanks for answer.




Theme © iAndrew 2016 - Forum software by © MyBB