FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » SQL Error if search contains special characters
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
SQL Error if search contains special characters [message #20220] Sun, 03 October 2004 12:45 Go to previous message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma:
Senior Member
If someone enters \ or ' into the search form without any additional characters following, it'll immediately result in an SQL error. This was first broken in 2.6.6 but I've just noticed it's still around in the latest CVS as well. It is also reproducable for this installation here at fudforum.org.

Error message goes like:
Quote:

Fatal error: SQL Error has occurred, please contact the administrator of the forum and have them review the forum's SQL query log in /xxx/xxx/xxx/forum/index.php on line 49

Interesting is, that "\ some more" and "' some more" works without problem. The search only can't handle these characters alone.

Olliver

[Updated on: Sun, 03 October 2004 12:46]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Unable to set avatars in user CP
Next Topic: 2.6.6 email notifications bug ?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 00:35:58 GMT 2024

Total time taken to generate the page: 0.03750 seconds