CodeIgniter Forums
Overwrite XSS-Check Failure Page - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Overwrite XSS-Check Failure Page (/thread-55918.html)

Overwrite XSS-Check Failure Page - El Forum - 11-16-2012

[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:

function overwriteXSSError() {

Is this realized somehow?

Thanks for answer.