Better percent-escape exception.
Merge pull request #1514 from Lukasa/verror

Better percent-escape exception.