mirror of
https://github.com/processone/ejabberd.git
synced 2024-07-02 23:06:21 +02:00
Fix broken JPEG photo (EJAB-1526)
Conflicts: src/eldap/eldap_filter.erl
This commit is contained in:
parent
38d2a27c56
commit
e1f8233d08
|
@ -185,5 +185,6 @@ replace_amps(Bin) ->
|
||||||
list_to_binary(
|
list_to_binary(
|
||||||
lists:flatmap(
|
lists:flatmap(
|
||||||
fun($&) -> "\\&";
|
fun($&) -> "\\&";
|
||||||
|
($\\) -> "\\\\";
|
||||||
(Chr) -> [Chr]
|
(Chr) -> [Chr]
|
||||||
end, binary_to_list(Bin))).
|
end, binary_to_list(Bin))).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user