Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 215
enthusiast
enthusiast
Joined: Jun 2006
Posts: 215
Code
ubbthreads $ grep -e htmlent * -R
admin/viewboard.php:$feed_name = htmlentities($feed_name);
admin/viewboard.php:            $line = htmlentities($line);
admin/viewboard.php:            $line = htmlentities($line);
admin/viewboard.php:            $line = htmlentities($line);
admin/rss.php:  $name = htmlentities($name);
admin/external_island.php:$html_string = nl2br(htmlentities($html_string));
admin/showuser.php:$usertitle = htmlentities($usertitle);
admin/editcustomisland.php:     $line = htmlentities($line);
admin/editcustomisland.php:$portal_name = htmlentities($portal_name);
libs/smarty/plugins/modifier.escape.php:            return htmlentities($string, ENT_QUOTES);
libs/ubbthreads.inc.php:                $title = htmlentities($title);
scripts/getmediumpic.inc.php:   $link = htmlentities(preg_replace("/</","&lt;",$link));


These should be replaced with htmlspecialchars


English is not my native language. I try my best to express my thought precisely. I hope you understand what I mean. If any misunderstanding results from culture gaps, I apologize first.
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
These are all fixed for 7.4. In some places you may still see htmlentities, but we still have to use those when the language isn't set to UTF-8, so there is some code in there under that condition.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
8.0.1 Patch Changelog Discussion
by isaac - 11/26/2025 1:34 PM
Upgraded to ver8 - now can't login
by phoenix011235 - 10/24/2024 8:50 AM
Who's Online Now
1 members (Geoff), 494 guests, and 94 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)