options to check for protocol-less URLs w/ TLD whitelist
See original GitHub issuei was hoping exact
would be the option i need based on https://github.com/kevva/url-regex/issues/12#issuecomment-97568552, but i don’t think you guys have revisited this.
what’s the possibility of this? would using https://github.com/stephenmathieson/node-tlds as a whitelist not be sufficient?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Best Practices - Use URL Properties to Whitelist Web Objects
URL properties, such as URL, URL.Host, URL.Host.BelongsToDomains, and others, can be used in the criteria of rules to whitelist web objects.
Read more >What protocol is loaded when using protocol-relative URLs?
I just started to test the idea behind "protocol less Urls". The problem I´m looking to solve is: on a https page I...
Read more >Use Tag Manager with a Content Security Policy
There are several ways to do this, such as the use of a nonce or a hash. ... should instead include the non-secure...
Read more >No protocol-relative URLs | webhint documentation
The hint checks for protocol-relative URLs. Note: Currently the hint does not check for protocol-relative URLs inside of stylesheets and scripts. Let's presume ......
Read more >The Anatomy of a Full Path URL - By zvelo
In this post, we take a step back and cover the basics—the individual structural elements of a full path URL (Uniform Resource Locator)....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
fwiw, pulled the regex out of https://github.com/segmentio/is-human-url
I’m considering adding this, though I need a better option name than
strict
. It’s too similar toexact
.