more bugs
This commit is contained in:
parent
bbe53699f2
commit
6695b4a203
13 changed files with 25 additions and 25 deletions
6
boot.php
6
boot.php
|
@ -205,12 +205,10 @@ function notags($string) {
|
|||
return(str_replace(array("<",">","\xBA","\xBC","\xBE"), array('[',']','','',''), $string));
|
||||
}}
|
||||
|
||||
// The PHP built-in tag escape function has traditionally been buggy
|
||||
if(! function_exists('escape_tags')) {
|
||||
function escape_tags($string) {
|
||||
return(str_replace(
|
||||
array('&', '"', "'", '<', '>'),
|
||||
array('&', '"', ''', '<', '>'), $string));
|
||||
|
||||
return(htmlspecialchars($string));
|
||||
}}
|
||||
|
||||
if(! function_exists('login')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue