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

Home » FUDforum Development » Bug Reports » 2.3.6RC4 incorrectly detects magic_quotes_gpc as ON
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
2.3.6RC4 incorrectly detects magic_quotes_gpc as ON [message #7895] Sun, 22 December 2002 14:12 Go to next message
shad is currently offline  shad   United Kingdom
Messages: 7
Registered: December 2002
Karma: 0
Junior Member
I have checked in the php.ini file and ran a test script, and magic quotes are deffinitely off, but FUD thinks they're on and it's compensating by the looks of things. If I edit a file in the template editor that has a single or double quote in it, the output will have it escaped and this results in broken html.

Can I force FUD into thinking magic quotes are off?
Re: 2.3.6RC4 incorrectly detects magic_quotes_gpc as ON [message #7896 is a reply to message #7895] Sun, 22 December 2002 15:03 Go to previous message
shad is currently offline  shad   United Kingdom
Messages: 7
Registered: December 2002
Karma: 0
Junior Member
Update

On further investigation this doesn't appear to be a bug with FUD, but a strange problem with PHP on my host. In the php.ini file all magic_quotes options are set to off. But using
echo get_magic_quotes_gpc();
it would always return 1. I've managed to use the line
php_flag magic_quotes_gpc off
in .htaccess to turn it off, but I'm still puzzled why it was on when set to off.

Any thoughts on this?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 2.3.5 - no way to block global anonymous access
Next Topic: smiley shortcuts and formatting tools
Goto Forum:
  

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

Current Time: Thu Nov 28 11:23:23 GMT 2024

Total time taken to generate the page: 0.02657 seconds