aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/test_server_ctrl.erl
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2018-02-13 16:34:17 +0100
committerPéter Dimitrov <[email protected]>2018-03-08 10:12:20 +0100
commit12f180722bc06656b0d8000813ba7fee06971cd4 (patch)
tree32243ae46176d97de99f123f4104b4ad127c209f /lib/common_test/src/test_server_ctrl.erl
parent02cca684ec0180f4f05faf3be5f8e7d71964fac0 (diff)
downloadotp-12f180722bc06656b0d8000813ba7fee06971cd4.tar.gz
otp-12f180722bc06656b0d8000813ba7fee06971cd4.tar.bz2
otp-12f180722bc06656b0d8000813ba7fee06971cd4.zip
common_test: Use uri_string
Change-Id: If9b7c1252642d31e6b802e8410883bfa26292674
Diffstat (limited to 'lib/common_test/src/test_server_ctrl.erl')
-rw-r--r--lib/common_test/src/test_server_ctrl.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/test_server_ctrl.erl b/lib/common_test/src/test_server_ctrl.erl
index 3a454a1e84..a76c8c12de 100644
--- a/lib/common_test/src/test_server_ctrl.erl
+++ b/lib/common_test/src/test_server_ctrl.erl
@@ -5739,7 +5739,7 @@ uri_encode_comp([Char|Chars],Encoding) ->
Reserved = sets:is_element(Char, reserved()),
case (Char>127 andalso Encoding==latin1) orelse Reserved of
true ->
- [ $% | http_util:integer_to_hexlist(Char)] ++
+ [ $% | integer_to_list(Char, 16)] ++
uri_encode_comp(Chars,Encoding);
false ->
[Char | uri_encode_comp(Chars,Encoding)]