[wp-trac] [WordPress Trac] #2768: quotation marks are double escaped when editing a comment

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 1 22:33:49 GMT 2006


#2768: quotation marks are double escaped when editing a comment
----------------------------+-----------------------------------------------
       Id:  2768            |      Status:  new                     
Component:  Administration  |    Modified:  Thu Jun  1 22:33:49 2006
 Severity:  normal          |   Milestone:  2.0.3                   
 Priority:  normal          |     Version:  2.1                     
    Owner:  anonymous       |    Reporter:  arnee                   
----------------------------+-----------------------------------------------
 Happens since 2.0.3 (since nonces were introduced)

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

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2768>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list