Fix warning: URI.escape is obsolete