Re: URI parser problems

2017-12-05 Thread Pedro David Marco
>Perhaps a smaller step that would be useful would be to have the parser >require the second-level domain name have > 1 character. >How often would we see a valid registered domain name like "x.info" for >example? maybe the best way to know whether it is a URI or not is to ask the DNS... -

Re: URI parser problems

2017-12-05 Thread Luis E. Muñoz
On 5 Dec 2017, at 14:59, John Hardin wrote: How often would we see a valid registered domain name like "x.info" for example? This is not as rare as you would think. Those names are more expensive, but not insanely so. https://uniregistry.link/premium-domain-names/ Best regards -lem

Re: URI parser problems

2017-12-05 Thread John Hardin
On Tue, 5 Dec 2017, RW wrote: On Tue, 5 Dec 2017 16:25:28 -0500 Alex wrote: Hi, I have the following rule that is used to detect some of the less common URIs: uriURI_RARE_TLD m;://[^/]+\.(?:work|space|club|science|pub|red|blue|green|link|ninja|lol|xyz|faith|review|download|top|global|

Re: URI parser problems

2017-12-05 Thread RW
On Tue, 5 Dec 2017 16:25:28 -0500 Alex wrote: > Hi, I have the following rule that is used to detect some of the less > common URIs: > > uriURI_RARE_TLD > m;://[^/]+\.(?:work|space|club|science|pub|red|blue|green|link|ninja|lol|xyz|faith|review|download|top|global|(?:web)?site|tech|party|

URI parser problems

2017-12-05 Thread Alex
Hi, I have the following rule that is used to detect some of the less common URIs: uriURI_RARE_TLD m;://[^/]+\.(?:work|space|club|science|pub|red|blue|green|link|ninja|lol|xyz|faith|review|download|top|global|(?:web)?site|tech|party|pro|bid|trade|win|moda|news|online|xxx|health|bot|cw|date