From a10a76d0fa86275864259161ec6949771b16e9fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Do=C4=9Fan=20Can=20Bak=C4=B1r?= Date: Fri, 18 Aug 2023 13:00:17 +0000 Subject: [PATCH] minor --- url/url.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/url/url.go b/url/url.go index 4d867f9..bbc7784 100644 --- a/url/url.go +++ b/url/url.go @@ -224,7 +224,6 @@ func (u *URL) fetchParams() { // ParseURL func Parse(inputURL string) (*URL, error) { - inputURL = decodeUnicodeEscapes(inputURL) return ParseURL(inputURL, false) } @@ -239,6 +238,7 @@ func decodeUnicodeEscapes(inputURL string) string { // Parse and return URL func ParseURL(inputURL string, unsafe bool) (*URL, error) { + inputURL = decodeUnicodeEscapes(inputURL) u := &URL{ URL: &url.URL{}, Original: inputURL,