Apostrophes get slashed

Apostrophes get slashed

de Julia Osteen -
Número de respuestas: 6

When adding a new question, if there is an apostrophe in the question text a slash is added by moodle and then we get an error message saying the question could not be created.

We are using the latest version of Moodle on a Windows server running IIS. Last year we used a hosted solution and didn't have this problem but that was 1.8 on a Linux server.

Promedio de valoraciones: -
En respuesta a Julia Osteen

Re: Apostrophes get slashed

de Tim Hunt -
Imagen de Core developers Imagen de Documentation writers Imagen de Particularly helpful Moodlers Imagen de Peer reviewers Imagen de Plugin developers
You don't say which version you are using, nor which question type. This bug crops up occasionally, but I think all known instances of it have been fixed. If you can reproduce it, please give us specific details.
En respuesta a Tim Hunt

Re: Apostrophes get slashed

de Julia Osteen -
We are using moodle 1.9.2 on a Windows server running IIS. Specifically, we've noticed this happening with an essay question and a multiple choice question.
En respuesta a Julia Osteen

Re: Apostrophes get slashed

de Marty Watson -
We add a summary to the course page, the apostrophe's are turning into multiple slashes as well.
En respuesta a Marty Watson

Re: Apostrophes get slashed

de Tim Hunt -
Imagen de Core developers Imagen de Documentation writers Imagen de Particularly helpful Moodlers Imagen de Peer reviewers Imagen de Plugin developers
If this is happening somewhere like the course summary as well, then that suggests to me that it is a general problem on Windows-, rather than a quiz-specific problem. I just tested on my system (Linux/Apache/Postgres) and I don't see this problem.


En respuesta a Julia Osteen

Re: Apostrophes get slashed

de Jonathan Harker -
Have you checked your PHP configuration has the "magic_quotes_gpc" flag set to "off"?

See the manual page for more information: http://php.net/magic_quotes