Skip to content

Url: Add new method getDomainWithoutWww().#181

Open
janbarasek wants to merge 12 commits intonette:masterfrom
janbarasek:patch-2
Open

Url: Add new method getDomainWithoutWww().#181
janbarasek wants to merge 12 commits intonette:masterfrom
janbarasek:patch-2

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 6ee31b8 to 4f4a403 Compare April 27, 2021 21:33
@dg dg force-pushed the master branch 4 times, most recently from a8895b6 to 9409a5f Compare August 25, 2021 15:26
@dg dg force-pushed the master branch 16 times, most recently from 5c0ac88 to bb44f8c Compare September 5, 2021 22:00
@dg dg force-pushed the master branch 4 times, most recently from 9c76db2 to e177e63 Compare September 20, 2021 15:32
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