avoid double encoding URL path