[wp-trac] [WordPress Trac] #48025: When the permalink structure ends with a slash, a slash is appended to the URL of robots.txt.

WordPress Trac noreply at wordpress.org
Wed Jun 24 00:05:37 UTC 2020


#48025: When the permalink structure ends with a slash, a slash is appended to the
URL of robots.txt.
---------------------------------------------+-----------------------------
 Reporter:  Toro_Unit                        |       Owner:  SergeyBiryukov
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  5.5
Component:  Canonical                        |     Version:  5.3
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-unit-tests has-patch commit  |     Focuses:
---------------------------------------------+-----------------------------

Comment (by whyisjake):

 In [changeset:"48155" 48155]:
 {{{
 #!CommitTicketReference repository="" revision="48155"
 Canonical: Add tests for trailing slashes for robots.txt.

 See #48025.

 Props Toro_Unit, joostdevalk, SergeyBiryukov.
 }}}

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


More information about the wp-trac mailing list