Issue 19684: Make test fail.
Issue 19684: Make test pass.

This fix is pretty lightweight. Because of the transition
between RFC 1738 and RFC 3986 there are possible more
characters out of the reserved and unreserved range
(or no reserved purpose) that could be taken care of
here.