From 595782f98402675c4793317af0d86bd23167a6cb Mon Sep 17 00:00:00 2001 From: gorhill Date: Mon, 15 Dec 2014 06:42:07 -0800 Subject: [PATCH] Updated How to whitelist a web site (markdown) --- How-to-whitelist-a-web-site.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/How-to-whitelist-a-web-site.md b/How-to-whitelist-a-web-site.md index 874b497..1595bf9 100644 --- a/How-to-whitelist-a-web-site.md +++ b/How-to-whitelist-a-web-site.md @@ -6,7 +6,15 @@ The feature is already available, it is the big power button: it serves to white ### Detailed syntax -As of version 0.8.2.0, the whitelisting syntax is as follow: +All whitelist directives are matched against the URL address of web pages. + +As of version 0.8.2.0, the whitelist directive syntax is split into two classes: +- Plain +- Complex + +Plain syntax is when using only hostname label(s), which means only the hostname portion of a URL will be taken into account. + +Complex syntax occurs if and only if at least one `/` appears in a whitelist directive. Optionally, wildcard `*` can be used with complex directives for more flexibility. #### Plain hostname