aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/http_lib/http_util.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-11-15 12:09:50 +0100
committerMicael Karlberg <[email protected]>2011-11-15 12:09:50 +0100
commit451f76fca7a777ea1ffeb4da84bbb397a9743174 (patch)
tree36ef1d36b3b7894b4342159ea7333780b71e0c91 /lib/inets/src/http_lib/http_util.erl
parentff305c1a15e34f1c8d4f923a8f0e532b4e946512 (diff)
parentb5a96738a6fb010f08d9cf5abdc1b2c3a50f0b6b (diff)
downloadotp-451f76fca7a777ea1ffeb4da84bbb397a9743174.tar.gz
otp-451f76fca7a777ea1ffeb4da84bbb397a9743174.tar.bz2
otp-451f76fca7a777ea1ffeb4da84bbb397a9743174.zip
Merge branch 'maint-r14'
Conflicts: lib/inets/doc/src/notes.xml lib/inets/src/http_lib/http_uri.erl lib/inets/src/inets_app/inets.appup.src lib/inets/vsn.mk
Diffstat (limited to 'lib/inets/src/http_lib/http_util.erl')
-rw-r--r--lib/inets/src/http_lib/http_util.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/inets/src/http_lib/http_util.erl b/lib/inets/src/http_lib/http_util.erl
index 973600d7be..5b21170b78 100644
--- a/lib/inets/src/http_lib/http_util.erl
+++ b/lib/inets/src/http_lib/http_util.erl
@@ -206,9 +206,7 @@ timeout(Timeout, Started) ->
html_encode(Chars) ->
Reserved = sets:from_list([$&, $<, $>, $\", $', $/]),
- lists:append(lists:map(fun(Char) ->
- char_to_html_entity(Char, Reserved)
- end, Chars)).
+ lists:append([char_to_html_entity(Char, Reserved) || Char <- Chars]).
%%%========================================================================