Explorar o código

Escape the ';' char in params for the security reasons.

git-svn-id: https://klish.googlecode.com/svn/trunk@237 0eaa4687-2ee9-07dd-09d9-bcdd2d2dd5fb
Serj Kalichev %!s(int64=14) %!d(string=hai) anos
pai
achega
9da6384274
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lub/string/string_escape.c

+ 1 - 1
lub/string/string_escape.c

@@ -14,7 +14,7 @@
  * This is a security feature to prevent users from arbitarily setting
  * parameters to contain special sequences.
  */
-static const char *default_escape_chars = "`|$<>&()#";
+static const char *default_escape_chars = "`|$<>&()#;";
 
 /*--------------------------------------------------------- */
 char *