Jump to ContentJump to Navigation/Login
` ` ` ` ` `

[Register]

Occasional ATutor release updates


No Members Logged In

(5 guests in past 15 min.)

Access Understanding Web Accessibility to learn about accessibility, or Register to take the course for FREE.

Support Forums

ATutor Bug Reports

Single quotes & Forums?


You must be signed-in to post.

AuthorSubject
  Page: 1
feaelin
Subject: Single quotes & Forums?Quote this post in your reply
Atutor Version: 1.3.1
PHP Version: 4.3.4
MySQL Version: 3.23.47

Entering a single quote into the body text of a thread/forum post causes the sql_query to fail (silently).

I used htmlspecialchars($_POST['body'], ENT_QUOTES) to solve the problem for myself, because I didn't see any pre-existing mechanism for "cleaning up" the body text.
Posted: 2004-02-12 10:05:27
joel

Avatar for joel
Subject: Single quotes & Forums?Quote this post in your reply
You can't reproduce that problem on any other page can you?

I can't seem to reproduce that error in the forums. We're getting ready for a 1.3.2 release, so I'm interested to know if that problem will still exist for you in that release.

Thanks
.joel
Posted: 2004-02-12 11:22:47
feaelin
Subject: Re: apostrophe issueQuote this post in your reply
(My apologies for not getting back to you sooner)

To be honest, I didn\'t think to check other parts of the system to see if it was a problem.

I\'ll be looking into another problem which may be a similar error later today. I\'ll try to remember to do some testing here and there w/o htmlspecialchars, to see what places I can generate the error. smile
Posted: 2004-02-19 12:05:56
 Page: 1

You must be signed-in to post.