Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 53da0b5

Browse files
authored
Merge pull request #66 from THREATINT/development
Release v1.3.1
2 parents 7d28a11 + 956aac0 commit 53da0b5

File tree

13 files changed

+58
-13
lines changed

13 files changed

+58
-13
lines changed

LICENSE

100755100644
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (C) 2020 THREATINT (CYPRUS) LTD)
3+
Copyright (C) 2020-2025 FSTPN Cyprus Limited (formally: "THREATINT (CYPRUS) LTD)")
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

README.md

100755100644
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ We have received feedback from software developers who were confused about how t
1414
specific cases. Examples include but are not limited to:
1515
* URLs:
1616
* We consider URLs that do not have a scheme as valid.
17-
This is a clear violation of [RFC#3986](https://www.rfc-editor.org/rfc/rfc3986.txt)
17+
This is a clear violation of [RFC #3986](https://www.rfc-editor.org/rfc/rfc3986.txt)
1818
that says *The scheme and path components are required, (...)*.
1919
We are doing this because of several of our own use cases where we had to process large lists of URLs that did
2020
not contain a scheme in each end every case. We neither wanted to add a scheme like `http://` by default nor simply
21-
reject entries. If you, however, need a URL that fully complies to RFC#3986
22-
(e.g. because you want to use it with other libraries), please call ```NormaliseURLSchema()```.
21+
reject entries. If you, however, need a URL that fully complies to RFC #3986
22+
(e.g. because you want to use it with other libraries), please call `NormaliseURLSchema()`.
2323
* Domains
2424
* To get an idea, what a valid domain name looks like, we use the list of TLDs (top-level-domains) from
25-
[IANA](https://data.iana.org/TLD/tlds-alpha-by-domain.txt).
25+
[PublicSuffixes.org]("https://publicsuffix.org/list/public_suffix_list.dat").
2626
* FQDNs
2727
* _www.site.tld_ **is not** a URL but a FQDN (fully qualified domain name), because it neither has a path component
2828
nor a schema (`http://`, `https://`, etc.).
@@ -40,4 +40,4 @@ If something still does not make sense, let us know by starting a discussion or
4040
Release under the MIT License. (see LICENSE)
4141

4242
## QA
43-
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/01c46c2a6f10458f8e7f09fff5ae1915)](https://app.codacy.com/gh/THREATINT/go-net/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
43+
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/01c46c2a6f10458f8e7f09fff5ae1915)](https://app.codacy.com/gh/THREATINT/go-net/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)

domain.go

100755100644
File mode changed.

domain_test.go

100755100644
File mode changed.

fqdn.go

100755100644
File mode changed.

fqdn_test.go

100755100644
File mode changed.

go.mod

100755100644
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module github.com/THREATINT/go-net
22

3-
go 1.24.0
3+
go 1.24
44

55
require (
66
github.com/PuerkitoBio/purell v1.2.1
7-
golang.org/x/net v0.39.0
7+
golang.org/x/net v0.42.0
88
)
99

10-
require golang.org/x/text v0.24.0 // indirect
10+
require golang.org/x/text v0.27.0 // indirect

go.sum

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ golang.org/x/net v0.38.0 h1:vRMAPTMaeGqVhG5QyLJHqNDwecKTomGeqbnfZyKlBI8=
44
golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8=
55
golang.org/x/net v0.39.0 h1:ZCu7HMWDxpXpaiKdhzIfaltL9Lp31x/3fCP11bc6/fY=
66
golang.org/x/net v0.39.0/go.mod h1:X7NRbYVEA+ewNkCNyJ513WmMdQ3BineSwVtN2zD/d+E=
7+
golang.org/x/net v0.42.0 h1:jzkYrhi3YQWD6MLBJcsklgQsoAcw89EcZbJw8Z614hs=
8+
golang.org/x/net v0.42.0/go.mod h1:FF1RA5d3u7nAYA4z2TkclSCKh68eSXtiFwcWQpPXdt8=
79
golang.org/x/text v0.23.0 h1:D71I7dUrlY+VX0gQShAThNGHFxZ13dGLBHQLVl1mJlY=
810
golang.org/x/text v0.23.0/go.mod h1:/BLNzu4aZCJ1+kcD0DNRotWKage4q2rGVAg4o22unh4=
911
golang.org/x/text v0.24.0 h1:dd5Bzh4yt5KYA8f9CJHCP4FB4D51c2c6JvN37xJJkJ0=
1012
golang.org/x/text v0.24.0/go.mod h1:L8rBsPeo2pSS+xqN0d5u2ikmjtmoJbDBT1b7nHvFCdU=
13+
golang.org/x/text v0.27.0 h1:4fGWRpyh641NLlecmyl4LOe6yDdfaYNrGb2zdfo4JV4=
14+
golang.org/x/text v0.27.0/go.mod h1:1D28KMCvyooCX9hBiosv5Tz/+YLxj0j7XhWjpSUF7CU=

ip.go

100755100644
File mode changed.

ip_test.go

100755100644
File mode changed.

0 commit comments

Comments
 (0)