On my clean install of the current 7 alpha, I immediately ran into problems with the handling of apostrophes, and quotes in all forms, pages,articles, blocks etc..

I get some variation of can'///t in the first case, and /"thisquote/" in the second. It doesn't seem to matter which format, with or without wysiwyg, and can't be corrected in edit as it just reappears when posting.

After searching through the queue here, I don't see anyone else with this issue, so I assume it is some php setting or something on my server, but I don't know where to look?

I understand (very clearly thanks all) that this is not a support forum, and that since I'm the only one experiencing this, it's probably me...but I never had this behaviour with 6.x , and don't know where else to turn.

Humbly
Mark

Comments

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

Could you clearly write

a) what you input into which formular: a url helps a lot
b) what did you get as the result ?
c) what did you expected as the result?

Paul M’s picture

Hi - I at first didn't realise that this is probably the same issue so I posted an issue here http://drupal.org/node/945308 I am using Drupal 7.0 beta 1 and beta 2 and both had the same result. If I put in an apostrophe I get \' as the result - when adding images I get the extra code that prevents Drupal finding the path. I don't understand what you mean by your question a) but am willing to help as best I can with my limited knowledge to solve this

damien tournoud’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
Paul M’s picture

Category: support » bug
Status: Closed (cannot reproduce) » Postponed (maintainer needs more info)

Ok thanks to Damien I have solved this see his reply on http://drupal.org/node/945308

I was sure it was something simple but as a non programmer very frustrating !

my drupal report gave php as 5.2.6-1+lenny9

I went to the php admin screen my hosting service gives and turned magic_quotes_gpc to off (it was on on position as set up by the hoster hetzner ) this has solved the problem!!!

Is there a way to add this to the instructions as many novices like myself will struggle with this one!

Paul

damien tournoud’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

I guess this is really a bug of your hosting company platform. We have code in place to revert the damage made by magic quotes, but it seems that your hosting platform incorrectly returns magic quotes has been off in your case, so the revert never happens.