]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
uri_escape: remove * from the set of allowed chars. It now can be used to escape...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 16 Apr 2010 08:18:27 +0000 (08:18 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 16 Apr 2010 08:18:27 +0000 (08:18 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10091 d7cf8633-e32d-0410-b094-e92efae38249

prvm_cmds.c

index 490a0c81c46e0507e94b413a62b08d6f97d323a2..55caaa57879699451ca00d6e9c87889eec720dbe 100644 (file)
@@ -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