This script couldn't redirect because the input didn't look like what was expected

This is the protocol: HTTP/1.1
This is the server that was reached:
This is the location and name of the script that was executed: /classes/2015-coursera-live/redirect.php
This was the path sent to the script:
This was the query string:

I am expecting something like this: