http icon indicating copy to clipboard operation
http copied to clipboard

Url: Add new method getDomainWithoutWww().

Open janbarasek opened this issue 5 years ago • 0 comments

  • new feature
  • BC break? no

Sometimes I want to get real pure domain always without www. prefix.

For example in the case of URL https://www.nette.org:

  • method getDomain(3) return www.nette.org,
  • but method getDomainWithoutWww() return nette.org only.

janbarasek avatar Jun 05 '20 15:06 janbarasek