-
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Description
Hi,
I'm trying to let MultiPass handle BasicAuth on all subdomains on a domain, except subdomains matching a certain regex.
^(?!.*(sub1|sub2|sub3))(.*\.foo\.bar|sub\.baz\.bar|sub\.bar\.foo)$
This should use the credentials for *.foo.bar, sub.baz.bar and sub.bar.foo, with the exception of subdomains of foo.bar that contains sub1, sub2 or sub3.
However, it does not seem to work. Not sure if the regex handles negative lookahead? Maybe MultiPass should have an option where you can add a rule with an "ignore" flag, and all sites matching that rule, will just be ignored by MultiPass?