aboutsummaryrefslogtreecommitdiff
path: root/src/misc.erl
diff options
context:
space:
mode:
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.