mosMakeHtmlSafe Problem

16 years 10 months ago #39846 by zz_fish
mosMakeHtmlSafe Problem was created by zz_fish
In admin.comprofiler.php, around line 1166:
$row->username = trim ( $row->username );
$row->email = trim ( $row->email );

mosMakeHtmlSafe($row);
if (!$row->check()) {
echo "<script type=\"text/javascript\"> alert('".$row->getError()."'); window.history.go(-1); </script>\n";
exit();
}

mosMakeHtmlSafe($row) seems to be causing some problems with encoding -- when you open user profile it will display single quote as ' , and if you leave that as is, it will save single quote as &#039; and so on.

Is it safe to remove this line?

Post edited by: zz_fish, at: 2007/06/21 01:27

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.139 seconds

Facebook Twitter LinkedIn