221V 3 years ago
parent
commit
d3fb1dbee8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/sh_path.erl

+ 2 - 0
src/sh_path.erl

@@ -3,6 +3,8 @@
 
 escape(Path) -> R = reserved(), lists:append([char_encode(Char, R) || Char <- Path]).
 unescape(Str) -> http_uri:decode(Str).
+% todo: Warning: http_uri:decode/1 is deprecated and will be removed in OTP 25;
+%   use uri_string functions instead
 reserved() -> sets:from_list([$/, $\\, $:, $%]).
 char_encode(Char, Reserved) ->
     case sets:is_element(Char, Reserved) of