[wp-trac] [WordPress Trac] #8948: permalink redirection is too liberal

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 22 18:26:02 UTC 2009


#8948: permalink redirection is too liberal
--------------------------+-------------------------------------------------
 Reporter:  mrmist        |       Owner:  markjaquith   
     Type:  defect (bug)  |      Status:  new           
 Priority:  normal        |   Milestone:  Future Release
Component:  Canonical     |     Version:  2.7           
 Severity:  normal        |    Keywords:  needs-patch   
--------------------------+-------------------------------------------------

Comment(by Denis-de-Bernardy):

 if the issue truly is about emails, how about this approach?

 a) if it doesn't look like a singular, then bail

 b) if it's a singular page, then check the length of the url. if it's not
 70-80 chars long then it was probably wasn't cut in an email, so bail.

 c) we're sure we've a singular whose url was cut. we try to find the
 correct one using chosen bits from our current algorithm

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


More information about the wp-trac mailing list