فهرست منبع

Fixing security vulnerability in squirrelspell.

graf25 23 سال پیش
والد
کامیت
37c24166f2

+ 0 - 0
plugins/squirrelspell/modules/check_me.mod.php → plugins/squirrelspell/modules/check_me.mod


+ 0 - 0
plugins/squirrelspell/modules/crypto.mod.php → plugins/squirrelspell/modules/crypto.mod


+ 0 - 0
plugins/squirrelspell/modules/crypto_badkey.mod.php → plugins/squirrelspell/modules/crypto_badkey.mod


+ 0 - 0
plugins/squirrelspell/modules/edit_dic.mod.php → plugins/squirrelspell/modules/edit_dic.mod


+ 0 - 0
plugins/squirrelspell/modules/enc_setup.mod.php → plugins/squirrelspell/modules/enc_setup.mod


+ 0 - 0
plugins/squirrelspell/modules/forget_me.mod.php → plugins/squirrelspell/modules/forget_me.mod


+ 0 - 0
plugins/squirrelspell/modules/forget_me_not.mod.php → plugins/squirrelspell/modules/forget_me_not.mod


+ 0 - 0
plugins/squirrelspell/modules/init.mod.php → plugins/squirrelspell/modules/init.mod


+ 0 - 0
plugins/squirrelspell/modules/lang_change.mod.php → plugins/squirrelspell/modules/lang_change.mod


+ 0 - 0
plugins/squirrelspell/modules/lang_setup.mod.php → plugins/squirrelspell/modules/lang_setup.mod


+ 0 - 0
plugins/squirrelspell/modules/options_main.mod.php → plugins/squirrelspell/modules/options_main.mod


+ 2 - 2
plugins/squirrelspell/sqspell_interface.php

@@ -36,7 +36,7 @@
     /*
     /*
     ** see if someone is attempting to be nasty by trying to get out of the
     ** see if someone is attempting to be nasty by trying to get out of the
     ** modules directory, although it probably wouldn't do them any good,
     ** modules directory, although it probably wouldn't do them any good,
-    ** since every module has to end with .mod.php. Still, they deserve
+    ** since every module has to end with .mod. Still, they deserve
     ** to be warned. ;)
     ** to be warned. ;)
     */
     */
     if (strstr($MOD, '.') || strstr($MOD, '/') || strstr($MOD, '%')){ 
     if (strstr($MOD, '.') || strstr($MOD, '/') || strstr($MOD, '%')){ 
@@ -44,5 +44,5 @@
         exit;
         exit;
     }
     }
     /* fetch the module now. */
     /* fetch the module now. */
-    require_once("$SQSPELL_DIR/modules/$MOD.mod.php");
+    require_once("$SQSPELL_DIR/modules/$MOD.mod");
 ?>
 ?>

+ 2 - 2
plugins/squirrelspell/sqspell_options.php

@@ -34,7 +34,7 @@
     /*
     /*
     ** see if someone is attempting to be nasty by trying to get out of the
     ** see if someone is attempting to be nasty by trying to get out of the
     ** modules directory, although it probably wouldn't do them any good,
     ** modules directory, although it probably wouldn't do them any good,
-    ** since every module has to end with .mod.php. Still, they deserve
+    ** since every module has to end with .mod. Still, they deserve
     ** to be warned. ;)
     ** to be warned. ;)
     */
     */
     if (strstr($MOD, ".") || strstr($MOD, "/") || strstr($MOD, "%")){
     if (strstr($MOD, ".") || strstr($MOD, "/") || strstr($MOD, "%")){
@@ -42,5 +42,5 @@
         exit;
         exit;
     }
     }
     /* load the stuff already. */
     /* load the stuff already. */
-    require_once("$SQSPELL_DIR/modules/$MOD.mod.php");
+    require_once("$SQSPELL_DIR/modules/$MOD.mod");
 ?>
 ?>