In the following scenario:
http://paste.pocoo.org/show/319042/
I would expect the last line to be '/a%2Fb'. The actual shown output should only be correct in the case of the following rule: "/path:test".
The following patch make this happen:
http://paste.pocoo.org/show/319051/