View Full Version : [Fixed] HTML characters still show up when editing a users profile
vBadvanced
Thu 10th Apr '03, 7:12pm
I'm kinda surprised nobody's pointed this out before... If you go to edit a users's profile in the Admin CP, in the Custom Profile Fields section it will show " instead of the " mark for users that have that in their profiles. I'm not sure if it does that with any other HTML characters, but I know it's done it with the " marks for a while now. It doesn't really affect anything and is easily fixed by putting unhtmlspecialchars around $userfield[$varname] in admin/user.php, but I just figured I'd point that out to one of the devs. :)
vBadvanced
Fri 25th Apr '03, 3:56pm
Bump... Shouldn't this be considered a small bug?
Steve Machol
Mon 28th Apr '03, 1:09am
Moved to Bugs for a Dev to look at.
Boofo
Mon 28th Apr '03, 7:13am
I'm kinda surprised nobody's pointed this out before... If you go to edit a users's profile in the Admin CP, in the Custom Profile Fields section it will show " instead of the " mark for users that have that in their profiles. I'm not sure if it does that with any other HTML characters, but I know it's done it with the " marks for a while now. It doesn't really affect anything and is easily fixed by putting unhtmlspecialchars around $userfield[$varname] in admin/user.php, but I just figured I'd point that out to one of the devs. :)
I've noticed the same thing. Where and how exactly would you put that?
vBadvanced
Tue 29th Apr '03, 4:50pm
IIRC you would just search in your admin/user.php file for $userfield[$varname] and replace it with unhtmlspecialchars($userfield[$varname])
Scott MacVicar
Sun 8th Jun '03, 7:38pm
added the false fourth parameter to the makeinputcode and htmlspecialchar on the profile field when being updated.
Powered by vBulletin™ Version 4.0.0 Beta 4 Copyright © 2009 vBulletin Solutions, Inc. All rights