WordPress.org

Make WordPress Core

Opened 5 months ago

Last modified 3 months ago

#48025 reviewing defect (bug)

When the permalink structure ends with a slash, a slash is appended to the URL of robots.txt.

Reported by: Toro_Unit Owned by: SergeyBiryukov
Milestone: Future Release Priority: normal
Severity: normal Version: 5.3
Component: Canonical Keywords: has-unit-tests has-patch commit
Focuses: Cc:
PR Number:

Description

When the permalink structure ends with a slash,

The URL is http://example.org/robots.txt/

The trailing slash should be removed.

Attachments (2)

48025.patch (854 bytes) - added by Toro_Unit 5 months ago.
48025.2.patch (1.5 KB) - added by Toro_Unit 5 months ago.
added unit test

Download all attachments as: .zip

Change History (6)

@Toro_Unit
5 months ago

@Toro_Unit
5 months ago

added unit test

#1 @Toro_Unit
5 months ago

  • Keywords has-unit-tests has-patch added

#2 @SergeyBiryukov
5 months ago

  • Milestone changed from Awaiting Review to 5.3
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#3 @marybaum
4 months ago

  • Keywords commit added

#4 @davidbaumwald
3 months ago

  • Milestone changed from 5.3 to Future Release

With 5.3 RC1 releasing today, this ticket is being moved to Future Release. If any committer feels this can be worked in to 5.3 before the deadline or can assume ownership in the 5.4 cycle, feel free to move it back up.

Note: See TracTickets for help on using tickets.