Quote the redirect URL when reading a message

The URL has to be a proper string.