[Lldb-commits] [PATCH] D12025: Make LLDB URLs to support hex encoding for special symbols
Oleksiy Vyalov via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 13 20:45:28 PDT 2015
ovyalov created this revision.
ovyalov added reviewers: clayborg, tberghammer, chaoren.
ovyalov added a subscriber: lldb-commits.
UriParser:Parse expects that host name doesn't contain special URL symbols - ":", ";", "$",...
However, in case of adb protocol (adb://$device_serial_no:$port) it poses a problem - device serial number may contain a colon ("192.168.0.1:5555").
In order to handle this situation we can pass URL encoded serial number (adb://192.168.100.132%3A5555:5432) and decode URL components within UriParser::Parse.
As an alternative, there is an option to have a adb-specific regexp in UriParser::Parse but I would like to keep UriParser protocol-independent.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 13992 bytes
Desc: not available
More information about the lldb-commits