aboutsummaryrefslogtreecommitdiff
path: root/src/misc.erl
diff options
context:
space:
mode:
authorPaweł Chmielowski <pawel@process-one.net>2022-05-06 10:06:13 +0200
committerPaweł Chmielowski <pawel@process-one.net>2022-05-06 10:06:13 +0200
commit3d4f2d365fb4ab1f6cd3b0707735eaa81efdf8ce (patch)
tree03c28bf9812142470ec78e1f927b690f57df4f60 /src/misc.erl
parentFix one more place where misc:uri_parse is used (diff)
Have consistent schema type in misc:uri_parse
Diffstat (limited to 'src/misc.erl')
-rw-r--r--src/misc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.erl b/src/misc.erl
index 0733ef298..7380011c2 100644
--- a/src/misc.erl
+++ b/src/misc.erl
@@ -63,7 +63,7 @@ uri_parse(URL) when is_binary(URL) ->
uri_parse(URL) ->
case http_uri:parse(URL) of
{ok, {Scheme, _UserInfo, Host, Port, Path, Query}} ->
- {ok, Scheme, Host, Port, Path, Query};
+ {ok, atom_to_list(Scheme), Host, Port, Path, Query};
{error, _} = E ->
E
end.