Make WordPress Core

Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#14619 closed defect (bug) (wontfix)

404 Errors from RTL characters appended to URL

Reported by: andybeard's profile AndyBeard Owned by:
Milestone: Priority: normal
Severity: minor Version: 3.0.1
Component: Canonical Keywords: rtl
Focuses: Cc:


This is an interesting bug I found via webmaster tools

Example URL

The URL has some arabic characters added to it I assume by mistake, but is constructed to theoretically handle quite a lot of errors with URL formation by using the post ID at the start.

This results in a 404 error so can't even be handled by canonicalization tags.

Change History (5)

#2 @markjaquith
12 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

The slug is wrong... we can't really determine where the legit slug stops and the extra characters begin. I think this is wontfix for now.

#3 @nacin
12 years ago

  • Milestone Awaiting Review deleted

#4 @AndyBeard
12 years ago

The slug shouldn't be needed on the first example because you have the page ID

If you chop off the characters it works

#5 @SergeyBiryukov
12 years ago

If a permalink structure contains post ID, we can probably use it as the essential part and cut everything else. However this seems to be an edge case which can be solved by a custom rewrite rule.

Note: See TracTickets for help on using tickets.