#1832 closed defect (bug) (invalid)
Permalink setup does not escape "." in .htaccess
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | high | |
Severity: | normal | Version: | 1.5.2 |
Component: | Administration | Keywords: | permalink, .htaccess bg|squashed |
Focuses: | Cc: |
Description
When setting up permalinks in admin, WP does not escape "." in .htaccess.
Example:
Permalink
/%category%/%post_title%.%post_id%
All occurrences of "." in the .htaccess mod-rewrite regular expression must be escaped ("\.") or else mod-rewrite treats them as port of the expression. This generates a 404 error.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Not an issue for WP 1.6, as the .htaccess is hardcoded, and all permalink processing is done inside WP (yay!)