Fixes url quoting