mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
Use http_uri only when matrix requires it, ammend commit 59ff77e
This commit is contained in:
parent
27d5a1d5bb
commit
5fb76b4918
@ -98,8 +98,13 @@ uri_parse(URL, Protocols) ->
|
||||
-endif.
|
||||
|
||||
-ifdef(OTP_BELOW_25).
|
||||
-ifdef(OTP_BELOW_24).
|
||||
uri_quote(Data) ->
|
||||
Data.
|
||||
-else.
|
||||
uri_quote(Data) ->
|
||||
http_uri:encode(Data).
|
||||
-endif.
|
||||
-else.
|
||||
uri_quote(Data) ->
|
||||
uri_string:quote(Data).
|
||||
|
Loading…
Reference in New Issue
Block a user