Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#7185 closed defect (bug) (fixed)

Trailing backslash shows first category

Reported by: scribu Owned by: anonymous
Priority: low Milestone: 2.7
Component: Canonical Version: 2.6
Severity: normal Keywords: category_base
Cc: scribu@…

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)

In fact, this happens with all illegal characters.

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

  • Owner robmiller deleted
  • Keywords category base added
  • Milestone changed from 2.5.2 to 2.6
  • Priority changed from normal to high
  • Priority changed from high to normal
  • Milestone changed from 2.9 to 2.7
  • Version changed from 2.5.1 to 2.6
  • Owner set to anonymous
  • Keywords category_base added; category base removed
  • Priority changed from normal to low
  • Milestone changed from 2.7 to 2.9

Punting pending a workable solution and patch.

  • Cc scribu@… added
  • Component changed from General to Canonical
  • Keywords permalinks removed
  • Milestone 2.9 deleted
  • Resolution set to fixed
  • Status changed from new to closed

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

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

  • 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.