7a440211dd
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. |
||
---|---|---|
admin | ||
autotest | ||
debian | ||
doc | ||
src | ||
thirdparty | ||
tools | ||
vs2010 | ||
.gitignore | ||
.gitmodules | ||
AUTHORS | ||
BSDmakefile | ||
BUGS | ||
ChangeLog | ||
COPYING | ||
COPYING.OpenSSL | ||
GNUmakefile | ||
README | ||
TODO | ||
version.h |
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