Opened 16 years ago
Closed 16 years ago
#3523 closed defect (bug) (fixed)
Permalink Options page needs to 'HTML entitise' the displayed htaccess rules in the textarea element.
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.0.8 | Priority: | normal |
Severity: | normal | Version: | 2.1 |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
In /wp-admin/options-permalink.php
, when your .htaccess
file isn't writable by the server, WordPress will display a textbox for you to copy-and-paste the permalink rules from.
The rules contain the lines "<IfModule mod_rewrite.c>
" and "</IfModule>
" which must be encoded with HTML entities if it is to be well-formed XHTML. Encoding with wp_specialchars()
does the trick.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Uses wp_specialchars() around the .htaccess rules