Fix URL path escaping