YF-GoogleCodeBackups / https-finder

Automatically exported from code.google.com/p/https-finder
0 stars 0 forks source link

Error or unexpected behaviour on the whitelist regex matcher #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I added the site deviantart to my whitelist like this:

*deviantart.net
*deviantart.com

When opening links to deviant art like 
http://beyzayildirim77.deviantart.com/art/black-tree-276541733 the plugin still 
started to detect HTTPS for deviant art.

Only after changing the rules to:

*.deviantart.net
*.deviantart.com

it stopped. 

Why do i need the . after the * ? This is either a but in the regex matcher or 
a divergence from the usual expected behaviour of regexes.

Original issue reported on code.google.com by skaarj.s...@gmail.com on 30 Dec 2011 at 1:24

GoogleCodeExporter commented 8 years ago
I forgot to mention the used versions: HTTPS-Finder 0.77 Firefox 9.0.1

Original comment by skaarj.s...@gmail.com on 30 Dec 2011 at 1:27

GoogleCodeExporter commented 8 years ago
The *. is for matching subdomains, and doesn't allow full regular expressions. 
For example, adding "deviantart.com" would block that domain only (no 
subdomains). Adding *.deviantart.com blocks any and all subdomains (e.g. 
www.deviantart.com, help.deviantart.com, etc). 

Original comment by jacobsK...@gmail.com on 30 Dec 2011 at 2:31

GoogleCodeExporter commented 8 years ago

Original comment by jacobsK...@gmail.com on 10 Jan 2012 at 9:55