Selaa lähdekoodia

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 13 vuotta sitten
vanhempi
commit
9da6384274
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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 *