[wp-trac] [WordPress Trac] #31499: Trim non-breaking spaces from URLs

WordPress Trac noreply at wordpress.org
Fri Mar 20 01:01:55 UTC 2015


#31499: Trim non-breaking spaces from URLs
--------------------------+---------------------
 Reporter:  pento         |       Owner:  pento
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.2
Component:  Canonical     |     Version:  2.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------
Changes (by pento):

 * owner:   => pento
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31838"]:
 {{{
 #!CommitTicketReference repository="" revision="31838"
 If the URL being visited has non-breaking spaces at the end of it, they
 were probably inserted by an errant URL copy/paste. Instead of showing a
 404 for no obvious reason, let's just trim them.

 Fixes #31499
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31499#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list