Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
dogancanbakir committed Aug 18, 2023
1 parent 25f7bd6 commit a10a76d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion url/url.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ func (u *URL) fetchParams() {

// ParseURL
func Parse(inputURL string) (*URL, error) {
inputURL = decodeUnicodeEscapes(inputURL)
return ParseURL(inputURL, false)
}

Expand All @@ -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,
Expand Down

0 comments on commit a10a76d

Please sign in to comment.