Use Testdriver with UrlDecoding On

Topics: User Forum
Jan 4, 2013 at 1:09 PM

By default, the value for UrlDecoding is On. However, when using testdriver, the Urls found in SampleUrls are never decoded, ignoring the UrlDecoding On directive completely. This can be a problem when for example testing trailing spaces:

  • The url to test is somethin like /myurl%20
  • The pattern to match trailing spaces is written for decoded urls (something like ^/myurl\s$ ) and will therefore no match using testdriver (but works when used via a web server)

Of course the solution is to use UrlDecoding Off everywhere. I'm just wondering whether I missed something when using testdriver: Is there a way to have testdriver apply Url decoding before applying the rules?