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
@dg dg force-pushed the master branch 4 times, most recently from 2a0c595 to 4ca7b03 Compare January 26, 2023 22:47
@dg dg force-pushed the master branch 6 times, most recently from da24b94 to 540335c Compare March 20, 2023 13:43
@dg dg force-pushed the master branch 2 times, most recently from e7c7e2d to bf945f3 Compare August 5, 2023 19:08
@dg dg force-pushed the master branch 3 times, most recently from 9a14e6e to a20fb8f Compare November 14, 2023 18:31
@dg dg force-pushed the master branch 5 times, most recently from 55488bd to 2042d2e Compare December 11, 2023 13:01
@dg dg force-pushed the master branch 2 times, most recently from 4960652 to 5e67add Compare May 2, 2024 10:56
@dg dg force-pushed the master branch 5 times, most recently from 689f4ae to 33aae19 Compare November 5, 2024 06:45
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