rack/rack — pull request #549 by bogdan (2013-04-25 07:56:50+00:00)
Title: Add UnescapeError exception

Raise UnescapeError exception instead of ArgumentError
when url has malformed escape sequence.

Currently there is no way to rescue malformed urls and take some custom actions because ArgumentError is too general.

Small refactoring as a bonus.