summaryrefslogtreecommitdiffstats
path: root/etc/inc/auth.inc
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-05-18 01:35:07 +0000
committerBill Marquette <billm@pfsense.org>2005-05-18 01:35:07 +0000
commite8b8dbbc7ae78c085863f1b0677b15307be8b6cd (patch)
treef2d78106cb982e919987b62da120d5478813b58a /etc/inc/auth.inc
parent7cf78912321845d45886bda0675b2fef7c368d03 (diff)
downloadpfsense-e8b8dbbc7ae78c085863f1b0677b15307be8b6cd.zip
pfsense-e8b8dbbc7ae78c085863f1b0677b15307be8b6cd.tar.gz
better regexp
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r--etc/inc/auth.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 1fffd02..49aeabd 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -61,7 +61,7 @@ function passwd_backed_basic_auth() {
continue;
/* Get crypted password */
- preg_match("/$username:((...[0-9A-Za-z_\/]{8}.)[0-9A-Za-z_\/]{22})/", $line, $matches);
+ preg_match("/$username:((...[0-9A-Za-z_\/]{8}.)[0-9A-Za-z_\/.]{22})/", $line, $matches);
$pass = $matches[1];
$salt = $matches[2];
@@ -100,7 +100,7 @@ function htpasswd_backed_basic_auth() {
continue;
/* Get crypted password */
- preg_match("/$username:((...[0-9A-Za-z_\/]{8}.)[0-9A-Za-z_\/]{22})/", $line, $matches);
+ preg_match("/$username:((...[0-9A-Za-z_\/]{8}.)[0-9A-Za-z_\/.]{22})/", $line, $matches);
$pass = $matches[1];
$salt = $matches[2];
OpenPOWER on IntegriCloud