Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.9.1
-
Fix Version/s: None
-
Component/s: Journal
-
Labels:None
-
Environment:LAMP MySQL 5 PHP 5
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE
Description
The Journal feedback window inserts backslashes before quotes and apostrophe marks. When the feedback page is refreshed, another backslash is inserted.
Set for PHP as per instructions:
magic_quotes_gpc = On
magic_quotes_runtime = Off
Attachments
Issue Links
| This issue duplicates: | ||||
| CONTRIB-2782 | Journal feedback report not stripping slashes |
|
|
|
Activity
- All
- Comments
- History
- Activity
- Source
- Test Sessions
detect magic_quotes_gpc php behavior
When magic_quotes are on (default php.ini behavior), all ' (single-quote), " (double quote), \ (backslash) and NUL's are escaped with a backslash automatically. On certain sites this causes escaping to appear in Journal feedback.