http
http copied to clipboard
Url: Add new method getDomainWithoutWww().
- 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)returnwww.nette.org, - but method
getDomainWithoutWww()returnnette.orgonly.