Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#7185 closed defect (bug) (fixed)

Trailing backslash shows first category

Reported by: scribu's profile scribu Owned by:
Milestone: 2.7 Priority: low
Severity: normal Version: 2.6
Component: Canonical Keywords: category_base
Focuses: Cc:

Description

When using a permalink structure that begins with '/%category%/', adding a trailing backslash to the blog url shows the category page with the lowest id. Examples:

http://www.example.com\ shows http://www.example.com/category/category-slug

It doesn't matter if the permalinks use a trailing slash or not.

Change History (13)

#1 @scribu
16 years ago

In fact, this happens with all illegal characters.

More examples of strings:
...
"
;
ş
!

#2 @scribu
16 years ago

  • Owner robmiller deleted

#3 @scribu
16 years ago

  • Keywords category base added
  • Milestone changed from 2.5.2 to 2.6
  • Priority changed from normal to high

#4 @scribu
16 years ago

  • Priority changed from high to normal

#5 @scribu
16 years ago

  • Milestone changed from 2.9 to 2.7
  • Version changed from 2.5.1 to 2.6

#6 @scribu
16 years ago

  • Owner set to anonymous

#7 @scribu
16 years ago

  • Keywords category_base added; category base removed
  • Priority changed from normal to low

#8 @markjaquith
16 years ago

  • Milestone changed from 2.7 to 2.9

Punting pending a workable solution and patch.

#9 @scribu
16 years ago

  • Cc scribu@… added

#10 @scribu
16 years ago

  • Component changed from General to Canonical
  • Keywords permalinks removed
  • Milestone 2.9 deleted
  • Resolution set to fixed
  • Status changed from new to closed

#11 @DD32
16 years ago

So this has been fixed over the generations? (Blank Milestone, yet closed as fixed)

#12 @scribu
16 years ago

Yes, probably in 2.7: now it simply returns a 404.

#13 @DD32
16 years ago

  • Milestone set to 2.7

Alright, I'm just going to call it a 2.7 fix then.

Note: See TracTickets for help on using tickets.