-
Notifications
You must be signed in to change notification settings - Fork 22
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
feat: support subdomains in isIPFS.url(url) #32
Commits on Mar 20, 2020
-
feat: support DNSLink subdomains
This change adds support for DNSLink subdomains on localhost gateway (ipfs/kubo#6096) Example: en.wikipedia-on-ipfs.org.ipfs.localhost:8080 BREAKING CHANGE: `isIPFS.subdomain` now returns true for <domain.tld>.ipns.localhost BREAKING CHANGE: `isIPFS.subdomainPattern` changed License: MIT Signed-off-by: Marcin Rataj <lidel@lidel.org>
Configuration menu - View commit details
-
Copy full SHA for cc40cd4 - Browse repository at this point
Copy the full SHA cc40cd4View commit details -
test: support peer multiaddr with /p2p/
Context: libp2p/libp2p#79 License: MIT Signed-off-by: Marcin Rataj <lidel@lidel.org>
Configuration menu - View commit details
-
Copy full SHA for 2644db0 - Browse repository at this point
Copy the full SHA 2644db0View commit details
Commits on Mar 21, 2020
-
fix: explicitly ignore URL param and hash
.url and .path now return true when validating: https://ipfs.io/ipfs/<CID>?filename=name.png#foo License: MIT Signed-off-by: Marcin Rataj <lidel@lidel.org>
Configuration menu - View commit details
-
Copy full SHA for 72c0344 - Browse repository at this point
Copy the full SHA 72c0344View commit details
Commits on Mar 22, 2020
-
refactor: simplify dnslinkSubdomain
License: MIT Signed-off-by: Marcin Rataj <lidel@lidel.org>
Configuration menu - View commit details
-
Copy full SHA for f1823cc - Browse repository at this point
Copy the full SHA f1823ccView commit details
Commits on Mar 24, 2020
-
fix: url() check should include subdomain()
When .url was created we only had path gateways. When .subdomain was added, we did not update .url to test for subdomain gateways, which in the long run will confuse people and feels like a bug. Let's fix this: .url() will now check for both subdomain and path gateways #32 (comment) BREAKING CHANGE: .url(url) now returns true if .subdomain(url) is true License: MIT Signed-off-by: Marcin Rataj <lidel@lidel.org>
Configuration menu - View commit details
-
Copy full SHA for c520efc - Browse repository at this point
Copy the full SHA c520efcView commit details
Commits on Mar 25, 2020
-
refactor: merge DNSLink check into ipnsSubdomain()
This makes subdomain checks follow what path gateway checks do, removing confusion. In both cases (IPNS and DNSLink) user needs to perform online record check, so this is just a handy way of detecting potential matches. License: MIT Signed-off-by: Marcin Rataj <lidel@lidel.org>
Configuration menu - View commit details
-
Copy full SHA for d9e7082 - Browse repository at this point
Copy the full SHA d9e7082View commit details
Commits on Apr 3, 2020
-
License: MIT Signed-off-by: Marcin Rataj <lidel@lidel.org>
Configuration menu - View commit details
-
Copy full SHA for d5717e9 - Browse repository at this point
Copy the full SHA d5717e9View commit details
Commits on Apr 5, 2020
-
License: MIT Signed-off-by: Marcin Rataj <lidel@lidel.org>
Configuration menu - View commit details
-
Copy full SHA for 87d746a - Browse repository at this point
Copy the full SHA 87d746aView commit details -
License: MIT Signed-off-by: Marcin Rataj <lidel@lidel.org>
Configuration menu - View commit details
-
Copy full SHA for 404957e - Browse repository at this point
Copy the full SHA 404957eView commit details -
License: MIT Signed-off-by: Marcin Rataj <lidel@lidel.org>
Configuration menu - View commit details
-
Copy full SHA for 18d80d4 - Browse repository at this point
Copy the full SHA 18d80d4View commit details