Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Url: Add new method getDomainWithoutWww(). #181

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

janbarasek
Copy link
Contributor

  • 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.

@dg dg force-pushed the master branch 4 times, most recently from 306161b to 88ee1d2 Compare July 31, 2020 10:50
@dg dg force-pushed the master branch 3 times, most recently from 7ae9bc0 to 0c8dfce Compare August 2, 2020 16:52
@dg dg force-pushed the master branch 4 times, most recently from ab1b02a to a2d51fa Compare October 20, 2020 16:30
@dg dg force-pushed the master branch 6 times, most recently from 9ff6baa to 420d9a2 Compare November 2, 2020 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants