[2023-01-23] 4images 1.10 released
0 Members and 1 Guest are viewing this topic.
/* and */
if ($site_db->not_empty($sql)) { $msg .= (($msg != "") ? "<br />" : "").$lang['username_exists']; $error = 1; } } else { $msg .= (($msg != "") ? "<br />" : "").$field_error = preg_replace("/".$site_template->start."field_name".$site_template->end."/siU", str_replace(":", "", $lang['user_name']), $lang['field_required']); $error = 1;
elseif (preg_match("#[<>]#", $user_name)) { $msg .= (($msg != "") ? "<br />" : "").$lang['username_bad_characters']; $error = 1; }
What is with the Bug from here? http://www.4homepages.de/forum/index.php?topic=10921.0 is it in 1.7.2 included ? I can register with "<" oder ">" in the Name....???
Just a note:With this fix you can not post any <script> <iframe> etc HTML code anywhere from regular members pages (profile, descriptions, comments, etc)If you, as admin, wish to add such code, you'll have to do it via ACP