aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/cdv_html_wx.erl
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2018-02-08 13:22:47 +0100
committerPéter Dimitrov <[email protected]>2018-02-13 11:11:29 +0100
commitec804f16778b6e1cc39b3dabbc82378ca329ffa1 (patch)
tree5c8ccc8135fb99ec1d419f7fae9a66094d2ba174 /lib/observer/src/cdv_html_wx.erl
parentcd9b6371a13c37f8f82586fcd82f212d306d8fad (diff)
downloadotp-ec804f16778b6e1cc39b3dabbc82378ca329ffa1.tar.gz
otp-ec804f16778b6e1cc39b3dabbc82378ca329ffa1.tar.bz2
otp-ec804f16778b6e1cc39b3dabbc82378ca329ffa1.zip
observer: Use uri_string
- Remove dependency to inets Change-Id: I63eaa69573e5b7fb7d12b0553026a89d16f3fd22
Diffstat (limited to 'lib/observer/src/cdv_html_wx.erl')
-rw-r--r--lib/observer/src/cdv_html_wx.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/observer/src/cdv_html_wx.erl b/lib/observer/src/cdv_html_wx.erl
index 4b43b6a840..77a9d3207b 100644
--- a/lib/observer/src/cdv_html_wx.erl
+++ b/lib/observer/src/cdv_html_wx.erl
@@ -94,21 +94,21 @@ handle_event(#wx{event=#wxHtmlLink{type=command_html_link_clicked,
case Target of
"#Binary?" ++ BinSpec ->
[{"offset",Off},{"size",Size},{"pos",Pos}] =
- httpd:parse_query(BinSpec),
+ uri_string:dissect_query(BinSpec),
Id = {cdv, {list_to_integer(Off),
list_to_integer(Size),
list_to_integer(Pos)}},
expand(Id,cdv_bin_cb,State);
"#OBSBinary?" ++ BinSpec ->
[{"key1",Preview},{"key2",Size},{"key3",Hash}] =
- httpd:parse_query(BinSpec),
+ uri_string:dissect_query(BinSpec),
Id = {obs, {Tab, {list_to_integer(Preview),
list_to_integer(Size),
list_to_integer(Hash)}}},
expand(Id,cdv_bin_cb,State);
"#Term?" ++ TermKeys ->
[{"key1",Key1},{"key2",Key2},{"key3",Key3}] =
- httpd:parse_query(TermKeys),
+ uri_string:dissect_query(TermKeys),
Id = {cdv, {Tab,{list_to_integer(Key1),
list_to_integer(Key2),
list_to_integer(Key3)}}},