5.5
Fixes:
-- Summary robots list was limited to MaxNbOfLoginShown instead of
- being limited to MaxNbOfRobotShown value.
+- Summary robots list was limited to MaxNbOfLoginShown instead of being
+ limited to MaxNbOfRobotShown value.
- Fixed a bug when using HBL codes in ShowRobotsStats parameter.
+- AllowAccessFromWebToFollowingAuthenticatedUsers now works for users with
+ space in name.
New features/improvments:
- Added a 'Screen Size' report.
}
if (@AllowAccessFromWebToFollowingAuthenticatedUsers) {
my $userisinlist=0;
+ my $currentuser=$ENV{"REMOTE_USER"};
+ $currentuser =~ s/\s/%20/g; # Allow authenticated user with space in name to be compared to allowed user list\r
foreach my $key (@AllowAccessFromWebToFollowingAuthenticatedUsers) {
- if ($ENV{"REMOTE_USER"} eq $key) { $userisinlist=1; last; }
+ if ($currentuser eq $key) { $userisinlist=1; last; }
}
if (! $userisinlist) {
- error("User '".$ENV{"REMOTE_USER"}."' is not allowed to access statistics of this domain/config.");
+ error("User '$currentuser' is not allowed to access statistics of this domain/config.");
}
}
}