URL Injection Triggers FatalErrorException

From the stack trace, you can see that it’s never even reaching your function. The system is detecting an invalid attack URL at a much earlier stage, and aborting the request.