1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/www/p5-Apache-Radius/files/patch-aa
Sheldon Hearn 85298d3fde Import p5-Apache-Radius, a loadable mod_perl module which provides
RADIUS authentication capabilities to the Apache web server.
1999-09-20 18:28:18 +00:00

12 lines
467 B
Plaintext

--- 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;