captive portal: exclude a few more chars following user feedback

This commit is contained in:
Franco Fichtner 2016-01-21 08:23:02 +01:00
parent cbe5cddbdf
commit b0a369829a

View File

@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2015 Deciso B.V.
*
@ -147,7 +148,7 @@ class Voucher implements IAuthConnector
$response = array();
if ($this->dbHandle != null) {
// list of characters to skip for random generator
$doNotUseChr = array('<', '>', '&', 'l' , 'O' ,'`', '|' ,'^', '"');
$doNotUseChr = array('<', '>', '{', '}', '&', 'l' , 'O' ,'`', '\'', '|' ,'^', '"');
// create map of random readable characters
$characterMap = '';