Trim GRIDS URLs before parsing them
This commit is contained in:
parent
42b9e9e9db
commit
a174230f6e
@ -59,7 +59,7 @@
|
||||
Reason :: bad_url.
|
||||
|
||||
parse(URL) ->
|
||||
case uri_string:parse(URL) of
|
||||
case uri_string:parse(string:trim(URL)) of
|
||||
#{path := "/1/s/" ++ R, host := H, query := Q, scheme := "grids"} ->
|
||||
spend(R, chain, list_to_binary(H), Q);
|
||||
#{path := "/1/s/" ++ R, host := H, query := Q, scheme := "grid"} ->
|
||||
|
Loading…
x
Reference in New Issue
Block a user