decode wildcard path.

the wildcard could match against 'hello%20world'
similar to #177, re-open of #178