Prevent "ArgumentError: invalid %-encoding" for bad requests from spiders