coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: noname00 on December 23, 2004, 11:20:54 PM

Title: bug - apostrophe in user name
Post by: noname00 on December 23, 2004, 11:20:54 PM
coppermine 1.3.2
an apostrophe in a user name causes database errors.
ie <noname00's group> as username.
Title: Re: bug - apostrophe in user name
Post by: Tranz on December 23, 2004, 11:27:11 PM
It looks like it wasn't escaped. Can you enable magic quotes?

Not that this shouldn't be looked into in the code, but until it is addressed, magic quotes should help escape the apostrophe.
Title: Re: bug - apostrophe in user name
Post by: Joachim Müller on December 23, 2004, 11:57:26 PM
as far as I can remember this has been reported before (and fixed). Please search for a similar error report and the fix.

Joachim