Make WordPress Core

Opened 5 years ago

Last modified 13 months ago

#35248 reopened enhancement

WordPress should remove domain trailing dot (as/like it removes "www.") — at Version 1

Reported by: qdinar Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.4
Component: Canonical Keywords:
Focuses: Cc:

Description (last modified by SergeyBiryukov)

I think, WordPress should redirect from address with trailing dot of domain to version without the dot, like it redirects from address with "www.".

I have read about which version is correct and seems version without dot is allowed according to RFCs, and it is very widely used, and even almost nobody know that trailing dot can be used.

https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol "The first definition of HTTP/1.1, the version of HTTP in common use, occurred in RFC 2068 in 1997, although this was obsoleted by RFC 2616 in 1999"
https://tools.ietf.org/html/rfc2616#section-14.23 "The Host field value MUST represent the naming authority of the origin server or gateway given by the original URL."
https://tools.ietf.org/html/rfc2616#section-3.2.1 "For definitive information on URL syntax and semantics, see "Uniform Resource Identifiers (URI): Generic Syntax and Semantics," RFC 2396 ..."
http://tools.ietf.org/html/rfc2396#section-3.2.2 "The rightmost domain label of a fully qualified domain name will never start with a digit, thus syntactically distinguishing domain names from IPv4 addresses, and may be followed by a single "." if it is necessary to distinguish between the complete domain name and any local domain."

Change History (1)

#1 @SergeyBiryukov
5 years ago

  • Component changed from General to Canonical
  • Description modified (diff)
  • Summary changed from Wordpress should remove domain trailing dot (as/like it removes "www.") to WordPress should remove domain trailing dot (as/like it removes "www.")
Note: See TracTickets for help on using tickets.