Jump to content

[SOLVED]   gets preceded by a Â


jordanwb

Recommended Posts

Somewhere in the following code:

 


print htmlentities(!get_magic_quotes_gpc() ? addslashes ($_POST['breadcrumb_seperator']) : $_POST['breadcrumb_seperator']);

 

Any record of   in $_POST['breadcrumb_seperator'] gets preceded by a  Before this line is ran $_POST['breadcrumb_seperator'] contains the value of " >> "

Link to comment
https://forums.phpfreaks.com/topic/127559-solved-nbsp-gets-preceded-by-a-acirc/
Share on other sites

I changed the code to this:

 

var_dump ($_POST['breadcrumb_seperator']);

var_dump (htmlentities($_POST['breadcrumb_seperator']));

 

and this is the output

 

string(6) " >> "

string(34) "Â >>Â "

 

I think I should report this as a bug

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.