Moodle

Journal feedback inserts backslashes before apostrophe and quote marks

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor 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

Issue Links

Activity

Hide
John T. Macklin added a comment -

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.

Show
John T. Macklin added a comment - 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.

People

Vote (3)
Watch (6)

Dates

  • Created:
    Updated: