Fix URL quoting