EllisLab text mark
Advanced Search
     
Overwrite XSS-Check Failure Page
Posted: 16 November 2012 10:02 AM   [ Ignore ]
Avatar
Joined: 2012-11-02
10 posts

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:

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

Is this realized somehow?

Thanks for answer.

 Signature 

I’m no signature, I’m just cleaning here…