Fixed possible exploit in query link where the original URI was not sanitized.
-rw-r--r-- 6303 db_mysql.php
-rw-r--r-- 9541 functions.php
-rw-r--r-- 11462 kernel.php
-rw-r--r-- 14651 template.php
-rw-r--r-- 2870 template_fs.php
-rw-r--r-- 5848 xml.php