summaryrefslogtreecommitdiffstats
path: root/virtualenv
diff options
context:
space:
mode:
authorThomas NOEL <tnoel@entrouvert.com>2013-10-30 16:44:15 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2013-10-30 16:44:15 (GMT)
commit58ac7d9bb3595aa7851743562087df59e3d5d881 (patch)
treef779a05f9dd38aa1c5192afbd777942b5a8dc39a /virtualenv
parentfd71b137e4611b6c20e5b4271feea0a2665e641f (diff)
downloadunivnautes-old-58ac7d9bb3595aa7851743562087df59e3d5d881.zip
univnautes-old-58ac7d9bb3595aa7851743562087df59e3d5d881.tar.gz
univnautes-old-58ac7d9bb3595aa7851743562087df59e3d5d881.tar.bz2
add first URL blacklist in config interface
Diffstat (limited to 'virtualenv')
-rw-r--r--virtualenv/pkg/univnautes.inc2
-rw-r--r--virtualenv/pkg/univnautes.xml9
2 files changed, 10 insertions, 1 deletions
diff --git a/virtualenv/pkg/univnautes.inc b/virtualenv/pkg/univnautes.inc
index 72ad776..a7cde4a 100644
--- a/virtualenv/pkg/univnautes.inc
+++ b/virtualenv/pkg/univnautes.inc
@@ -31,7 +31,7 @@ function univnautes_sync() {
"mdspca", "mdspcrt",
"wlca", "wlstaticips",
"mdlocal",
- "userbl", "macbl" );
+ "userbl", "macbl", "firsturlbl" );
foreach($b64s as $b64) {
if (isset($conf[$b64]) && strlen($conf[$b64]) > 0) {
$data = base64_decode($conf[$b64]);
diff --git a/virtualenv/pkg/univnautes.xml b/virtualenv/pkg/univnautes.xml
index 306d625..abb6ea5 100644
--- a/virtualenv/pkg/univnautes.xml
+++ b/virtualenv/pkg/univnautes.xml
@@ -272,5 +272,14 @@
<rows>4</rows>
<cols>66</cols>
</field>
+ <field>
+ <fielddescr>First URLs blacklist</fielddescr>
+ <fieldname>firsturlbl</fieldname>
+ <encoding>base64</encoding>
+ <description>URLs that are not web pages: captive portal should not handle them. Format: one regex per line.</description>
+ <type>textarea</type>
+ <rows>4</rows>
+ <cols>66</cols>
+ </field>
</fields>
</packagegui>