Enforce questionnaire settings for confirmation url to be valid

Found this in client testing. Otherwise you get something like this:

Not Found

The requested URL /mod/questionnaire/www.google.com.au was not found on this server.