[wp-trac] [WordPress Trac] #20383: Strip trailing punctuation with canonical URLs

WordPress Trac noreply at wordpress.org
Mon Oct 7 20:52:50 UTC 2013


#20383: Strip trailing punctuation with canonical URLs
-----------------------------------------+-----------------------------
 Reporter:  nacin                        |       Owner:  joostdevalk
     Type:  defect (bug)                 |      Status:  accepted
 Priority:  normal                       |   Milestone:  Future Release
Component:  Canonical                    |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |
-----------------------------------------+-----------------------------
Changes (by joostdevalk):

 * keywords:   => has-patch reporter-feedback
 * owner:   => joostdevalk
 * status:  new => accepted


Comment:

 I added the suggested ones and a couple more into the same rewrite in
 which we fixed the trailing space. WordPress doesn't allow for these
 characters in the URL so I think it's safe to assume that if they're in
 there, at the end of the URL, it's a mistake.

 Please do tell me if you disagree, if so I could move this to
 `redirect_guess_404_permalink` without issue of course.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/20383#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list