yav / url

A URL package for Haskell
http://www.haskell.org/haskellwiki/Url
MIT License
13 stars 6 forks source link

Make ok_url more useful #1

Closed ethorsoe closed 12 years ago

ethorsoe commented 12 years ago

Not sure how you are supposed to use encString, but it's a lot easier to use, if ok_url checks for the the characters that need to be encoded, not the ones that are allowed. That is '%' needs to be encoded, but is allowed in the encoded string as it is the result of encoding process.

yav commented 12 years ago

Indeed, this was the intention, I just missed %. Thanks for the patch!