|
[F] Escaped Quotes in Away Reason [R] [C-Chris]
|
|
01-26-2009, 03:03 AM
Post: #1
|
|||
|
|||
|
[F] Escaped Quotes in Away Reason [R] [C-Chris]
If you insert single or double quotes in away reason, the escape (\) is added (you can see it publicly). I can reproduce it here and on my localhost.
-Doug 1scream Founder Former MyBB Developer & SQA Member My Twitter |
|||
|
01-26-2009, 06:10 AM
Post: #2
|
|||
|
|||
|
RE: Escaped Quotes in Away Reason
Better to over escape then under escape, I always say
|
|||
|
01-26-2009, 06:12 AM
Post: #3
|
|||
|
|||
RE: Escaped Quotes in Away Reason
(01-26-2009 06:10 AM)Ryan Gordon Wrote: Better to over escape then under escape, I always sayEspecially in the case of MySQL..
Elite-Area / Last.FM Profile / PSN Name: XDaciD / Minecraft Map Progress: Coming Soon! [Staff note - No referral links] |
|||
|
01-26-2009, 05:54 PM
Post: #4
|
|||
|
|||
|
RE: Escaped Quotes in Away Reason
Try this. In usercp.php find:
PHP Code: "awayreason" => $db->escape_string($mybb->input['awayreason']) replace with PHP Code: "awayreason" => $mybb->input['awayreason'] Because it's already escaped in the datahandler. |
|||
|
01-26-2009, 05:58 PM
Post: #5
|
|||
|
|||
|
RE: Escaped Quotes in Away Reason
I can confirm that works.
Download My Plugins My Personal Site - Twitter |
|||
|
01-26-2009, 10:34 PM
Post: #6
|
|||
|
|||
|
[F] Escaped Quotes in Away Reason [R]
Thank you for your bug report.
This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated. With regards, MyBB Group |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help



