On Mon, Mar 25, 2019 at 02:54:39PM +0000, RW wrote:
> On Mon, 25 Mar 2019 16:18:19 +0200
> Henrik K wrote:
> 
> > On Mon, Mar 25, 2019 at 03:00:30PM +0100, Tobi <jahli...@gmx.ch>
> > wrote:
> > > Hi
> > > 
> > > Am 25.03.19 um 13:25 schrieb Henrik K:  
> > > >
> > > > Use /^https?:/ to find real uris.
> > > >  
> > > 
> > > what if the scheme is ftp (or something else) or fully missing just
> > > the URI?  
> > 
> > Then use /^(https?|ftp):/i? Are you expecting more, gopher
> > perhaps? :-)
> > 
> > Looking at code schemeless uris with www* add http:// internally.
> 
> And without the www as well. It just needs to look like domain with a
> known TLD.

Seems you are right, I read the rblonly part wrong..

test1.com
http://test2.com
https://test3.com
test4.com?fuubar
test5.com/

ran uri rule URIXXX ======> got hit: "http://test1.com";
ran uri rule URIXXX ======> got hit: "https://test3.com";
ran uri rule URIXXX ======> got hit: "http://test2.com";

I wonder if MUAs recognize 4 and 5..

Reply via email to