7a440211dd32b7c07ee5aea69e37466716f0c0ea
Using adc_msg_escape will escape spaces etc inside keyword subsitutions in user command messages (e.g., %[line:Enter a value] becomes %[line:Enter\sa\svalue]) which leads to them being displayed wrong in the client. Values outside the substitutions still need to be escaped. This commit adds an (internal) ucmd_msg_escape() function, plus a ucmd_msg_escape_length() helper, to the user command handler which correctly handles keyword substitutions.
Welcome and thanks for downloading uHub, a high performance ADC p2p hub. For the official documentation, bugs and other information, please visit: http://www.uhub.org/ For a list of compatible ADC clients, see: http://en.wikipedia.org/wiki/Advanced_Direct_Connect#Client_software
Description
Languages
C
83.2%
C++
12%
Perl
1.5%
Python
1.2%
CMake
1.2%
Other
0.8%