Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#2768 closed defect (bug) (duplicate)

quotation marks are double escaped when editing a comment

Reported by: arnee Owned by: anonymous
Priority: normal Milestone:
Component: Administration Version: 2.1
Severity: normal Keywords:
Cc:

Description

Happens since 2.0.3 (since nonces were introduced)

  1. Create a comment
  2. Got to Manage -> Comments
  3. Click "Edit comment"
  4. Edit something in the text and use quotation marks (" or ')
  5. Click Save
  6. You will be saked if you really want to do this? Missing nonce?
  7. Click Yes
  8. Check your blog or go back to Manage -> Comments
  9. All quotation marks are escaped with backslash (\)

Linux, Apache, PHP 4.2.2, php.ini:

  • magic_quotes_gpc On
  • magic_quotes_runtime Off
  • magic_quotes_sybase Off

There is no way to edit the comment without that these backslashes appear.

Change History (5)

Why does the WikiFormatting not work? My ticket should have lists and linebreaks...

comment:2   ryan7 years ago

See #2761

  • Resolution set to duplicate
  • Status changed from new to closed

Thanks, your patch fixed the problem. Too bad 2.0.3 is already out.

  • Milestone changed from 2.0.3 to 2.1
  • Milestone 2.1 deleted
Note: See TracTickets for help on using tickets.