diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2017-03-04 12:53:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-04 12:53:23 -0500 |
commit | bd357bb5103b748148c979d6ecd00e7f31852fbc (patch) | |
tree | 317c418cd8ce135e8768cce6fec842876203c182 | |
parent | 3a5f7091b2bc46ece7ce2ac86eb5269eea1863ae (diff) | |
parent | c6eea2bd468cad56220e7f7c63c4689fe8328789 (diff) |
Merge pull request #1504 from vladdu/patch-1
rebar_utils:escape_chars handles quotes
-rw-r--r-- | src/rebar_utils.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl index c357e94..c684e2d 100644 --- a/src/rebar_utils.erl +++ b/src/rebar_utils.erl @@ -857,7 +857,7 @@ url_append_path(Url, ExtraPath) -> escape_chars(Str) when is_atom(Str) -> escape_chars(atom_to_list(Str)); escape_chars(Str) -> - re:replace(Str, "([ ()?`!$&;])", "\\\\&", [global, {return, list}]). + re:replace(Str, "([ ()?`!$&;\"\'])", "\\\\&", [global, {return, list}]). %% "escape inside these" escape_double_quotes(Str) -> |