1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/www/p5-Apache-Radius/files/patch-aa

12 lines
467 B
Plaintext
Raw Normal View History

--- AuthenRadius.pm.orig Sun Aug 1 00:14:23 1999
+++ AuthenRadius.pm Mon Sep 20 20:05:38 1999
@@ -37,7 +37,7 @@
my $timeout = $r->dir_config("Auth_Radius_timeout") || 5;
# Sanity for usernames and passwords.
- if (length $user > 64 or $user =~ /[^A-Za-z0-9]/) {
+ if (length $user > 64 or $user =~ /[^A-Za-z0-9@._-]/) {
$r->log_reason("Apache::AuthenRadius username too long or"
."contains illegal characters", $r->uri);
$r->note_basic_auth_failure;