Make WordPress Core

Opened 20 years ago

Closed 20 years ago

Last modified 19 years ago

#1832 closed defect (bug) (invalid)

Permalink setup does not escape "." in .htaccess

Reported by: erikcw's profile erikcw 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)

#1 @markjaquith
20 years ago

  • Keywords bg|squashed added
  • Resolution set to invalid
  • Status changed from new to closed

Not an issue for WP 1.6, as the .htaccess is hardcoded, and all permalink processing is done inside WP (yay!)

#2 @(none)
19 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.