From: divverent Date: Fri, 16 Apr 2010 08:18:27 +0000 (+0000) Subject: uri_escape: remove * from the set of allowed chars. It now can be used to escape... X-Git-Tag: xonotic-v0.1.0preview~230^2~384 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=071d138ef3cfa738c02987441aba516c8ff4e5fd;p=xonotic%2Fdarkplaces.git uri_escape: remove * from the set of allowed chars. It now can be used to escape file names for use by Windows. Note that you still need to add a prefix, as Windows does not like file names starting with a dot. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10091 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/prvm_cmds.c b/prvm_cmds.c index 490a0c81..55caaa57 100644 --- a/prvm_cmds.c +++ b/prvm_cmds.c @@ -5483,7 +5483,7 @@ void VM_uri_escape (void) || (*p >= 'a' && *p <= 'z') || (*p >= '0' && *p <= '9') || (*p == '-') || (*p == '_') || (*p == '.') - || (*p == '!') || (*p == '~') || (*p == '*') + || (*p == '!') || (*p == '~') || (*p == '\'') || (*p == '(') || (*p == ')')) *q++ = *p; else