imbo/imbo — pull request #270 by rexxars (2014-02-20 14:45:28+00:00)
Title: Increase priority of CORS-listener

The CORS-listener will not trigger if an event listener with a high priority terminates the request. This makes it impossible for browsers using CORS to get back the error message from the server, instead resulting in a CORS-error.

This PR simply bumps the priority up to 100, which enables it to add the required headers before events like image validation and similar.