Hello, guest. We have noticed that you are not registered at this bug tracker. Your experience will be greatly enhanced if you log in. To do so, you first must register by clicking on the Register tab at the top. If you are already registered, you can login at the Login tab.
Syndicate Syndicate Listing Display Search Login/Register
Bug Id ?
54
Reporter ?
Andrew Herron
Bugdar / 1.1.3
Status ?
Closed
Severity ?
Moderate
Duplicate Of ?
- none -
Fixed in Revision ?
Mstone ?
Summary ?
Single quotes get doubled up when read from database
Report Time ?
November 14, 2006 04:20 PM
Assignment ?
Resolution ?
Won't Fix
Priority ?
Normal
Dependencies ?
- none -
Mstone (old) ?


Votes
For: 0 (0%)
Against: 0 (0%)
Total: 0

November 14, 2006 04:20 PM Andrew Herron
It seems that when you submit to the database a single quote, it gets doubled, as it should for insertion. However, when it's retrieved, it still shows the double single quote so that when you submit or update, it doubles them again.

November 14, 2006 04:25 PM Robert
What version of Bugdar are you using? And can you check your phpinfo() values for magic_quotes_runtime magic_quotes_sybase and magic_quotes_gpc?

November 14, 2006 04:51 PM Andrew Herron
v1.1.3

sybase and gpc are on, but runtime is not.

November 14, 2006 04:55 PM Andrew Herron
I turned on the magic_quotes_runtime, restarted all the servers and I'm still having the issue.

November 14, 2006 07:42 PM Robert
They all should be off, really, as they're evil evil settings that are going away in PHP6 anyways. Sybase is what's doing this, I think. I'll see if there's a runtime setting to turn this off in PHP, but if not, I don't know how much I can really do about this.

November 14, 2006 07:55 PM Andrew Herron
Shazaam! Turned them off and everything works. Thanks!

November 16, 2006 01:51 AM Robert
There's not a lot I can do about magic_quotes_sybase in PHP, plus it's all disappearing in PHP6 so I'm marking this "Won't Fix."

On November 16, 2006 01:51 AM, Robert changed: