2012-02-19, 01:55:44
ccagle8 Wrote:yojoe:I looked into basic.php, and found the culprit.
You mentioned that it's just a problem with basic.php, and I looked over all the revisions of that file since 6:15, and it has to be the change we made in safe_slash_html() attempting to remove the return characters.
can you try to replace that function inside the latest SVN copy and see if that fixed the issue?
Addslashes weren't the cause of this bug, but cl($data) function and its preg_replace directive (line 334)
Commenting the line
Code:
$data = preg_replace('/[[:cntrl:]]/', '', $data); //remove control characters that cause interface to choke
Function _id (line 819) contains the same preg_replace directive, but I assume it replaces special chars in page's URI and it works fine.
Addons: blue business theme, Online Visitors, Notepad