I'm running Drupal 4.2.0-rc and have just run into an issue when typing in Blog entries (I'm sure it will be the same with static pages and what not too). If I create a link in my blog entry, the href changes to put a back-slash infront of the double quotes and when I look at my link, it no longer is a link to where I typed in, but prefixed with my domain name. So if my href was set for http://www.foo.com then when I preview it or save it, it now shows up either as http://www.mysite.com/http://www.foo.com or sometimes as file://"http://www.foo.com" . Also with each time I go to preview or edit the file more back slashes get appeneding to where backslashes are at now... So my only way of getting valid URLS now in my blog entries is to type in the blog, save it, and then go edit the database node row directly with phpMyAdmin!

This all seemed to start in the last week, so I don't know if its a server configuration that changed on me or what (I can't think of a Drupal change I've made). I had htmlArea module turned on, but when this started, I turned it off thinking it had a bug, but this still happens now in just the regular text boxes.

Any and all help would be appreciated. I'm not sure what else to look for. For some reason "Magic Quotes" sticks in my head as something that might be part of this, but I'm not sure.

Thanks!

Comments

Mike@frazierhome.net’s picture

{edited)

Ok, my webhost turned off magic quotes, so my problem is resolved. It was definetly a magic quotes problem and them having it set so my .htaccess couldn't override it.

Mike@frazierhome.net’s picture

Ok, Doing more research... It looks to be a magic quotes problem. I just did a phpinfo() and see magic_quotes_gpc is now on and my .htaccess setting doesn't appear to be overriding it. I've verified that I have the FollowSymLinks in my Options line in the .htaccess, and even tried a hack someone mentioned, but this hasn't helped.