summaryrefslogtreecommitdiffstats
path: root/etc/inc/auth.inc
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-05-16 20:24:09 +0000
committerBill Marquette <billm@pfsense.org>2005-05-16 20:24:09 +0000
commit6db304e40bc3b85a7d43f3a5a9bee5b443a4326e (patch)
tree4c4a50c795aab425d6ee81de754f04523d3d7a71 /etc/inc/auth.inc
parentf3651b3a0c520ca53e989b550503dafd71e9add9 (diff)
downloadpfsense-6db304e40bc3b85a7d43f3a5a9bee5b443a4326e.zip
pfsense-6db304e40bc3b85a7d43f3a5a9bee5b443a4326e.tar.gz
md5's can have '/'s in them apparently...doh
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 64ba50a..1fffd02 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