fix(backend): remove tab chars in url before parse
This commit is contained in:
parent
c2f93c6c42
commit
71f5f3a797
1 changed files with 1 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ func DiscardURLQuery(url string) string {
|
|||
}
|
||||
|
||||
func GetURLParts(rawURL string) (string, string, string, error) {
|
||||
rawURL = strings.Replace(rawURL, "\t", "", -1) // Other chars?
|
||||
u, err := _url.Parse(rawURL)
|
||||
if err != nil {
|
||||
return "", "", "", err
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue