Save User's Web
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #8
RE: Save User's Web
I don't mind (personally) if the website field is in users table (although I prefer this as custom field). But I think it is a big bonus if MyBB adds more validation to it in the verify_website() function, and if it doesn't have any negative effect, do not htmlspecialchars() the value inside the escape_string() when saving to the db.

Because this is a default MyBB's field, maybe it is better if the above things is done by the default MyBB's userhandler.

But again, I don't know what a framework or a software should do to save a website/URL field.

07-14-2012 07:12 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Save User's Web - RateU - 07-12-2012, 08:10 AM
RE: Save User's Web - ZiNgA BuRgA - 07-12-2012, 08:37 PM
RE: Save User's Web - RateU - 07-13-2012, 03:59 AM
RE: Save User's Web - Sama34 - 07-13-2012, 09:33 AM
RE: Save User's Web - ZiNgA BuRgA - 07-13-2012, 08:11 PM
RE: Save User's Web - RateU - 07-14-2012, 04:28 AM
RE: Save User's Web - Sama34 - 07-14-2012, 05:02 AM
RE: Save User's Web - RateU - 07-14-2012 07:12 AM
RE: Save User's Web - ZiNgA BuRgA - 07-14-2012, 12:17 PM

 Standard Tools
Forum Jump: