commit | 48f941e4ea98b65e5045fc2cbbf48c8047026314 | [log] [tgz] |
---|---|---|
author | dosmith <dosmith> | Mon May 26 18:45:30 2008 +0000 |
committer | dosmith <dosmith> | Mon May 26 18:45:30 2008 +0000 |
tree | 5bd91db354ca481f9fdfbc69da0f3faae5a6b22d | |
parent | 243b4a48c5ab00d0d3dff2d8f90698eafbb5c437 [diff] |
*** empty log message ***
diff --git a/redirector.php b/redirector.php index 74383d4..ca42f04 100644 --- a/redirector.php +++ b/redirector.php
@@ -69,7 +69,7 @@ # echo 'SUBTAG:' . $_SUBTAG . ' TAG:' . $_TAG . '<br>'; # strip potentially bad characters from file - $_SUBTAG = preg_replace('/["\'?%$#@!;*&]/i', '', $_SUBTAG); + if ($_SUBTAG != "") $_SUBTAG = preg_replace('/["\'?%$#@!;*&]/i', '', $_SUBTAG); $_TAG = preg_replace('/["\'?%$#@!;*&]/i', '', $_TAG);