diff options
author | Péter Dimitrov <[email protected]> | 2018-03-09 15:32:03 +0100 |
---|---|---|
committer | Péter Dimitrov <[email protected]> | 2018-03-09 15:32:03 +0100 |
commit | 0217dbfee505ed8c88164c7a4ea5e1834e6ce8cd (patch) | |
tree | b6ab2363a4a0256d75d486b63ea4672aeec5c0f5 /lib/observer/src/cdv_html_wx.erl | |
parent | 13e83e2e11b3d211c17c53140249a235b4d7a436 (diff) | |
parent | 12f180722bc06656b0d8000813ba7fee06971cd4 (diff) | |
download | otp-0217dbfee505ed8c88164c7a4ea5e1834e6ce8cd.tar.gz otp-0217dbfee505ed8c88164c7a4ea5e1834e6ce8cd.tar.bz2 otp-0217dbfee505ed8c88164c7a4ea5e1834e6ce8cd.zip |
Merge branch 'peterdmv/use_uri_string/OTP-14902'
* peterdmv/use_uri_string/OTP-14902:
common_test: Use uri_string
ssl: Use uri_string
public_key: Use uri_string
observer: Use uri_string
Change-Id: I4beac2289db039cc7d566807727c5aaf7fadf942
Diffstat (limited to 'lib/observer/src/cdv_html_wx.erl')
-rw-r--r-- | lib/observer/src/cdv_html_wx.erl | 6 |
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)}}}, |