This commit is contained in:
Christophe Maudoux 2021-01-19 22:24:17 +01:00
parent ad83c48a9d
commit a8174d58a7
3 changed files with 5 additions and 6 deletions

View File

@ -34,9 +34,9 @@ Just enable it in the manager (section “plugins”).
- **Display persistent session data**: Rule to define which users can display
persistent session data
- **Hidden headers**: Sent headers whose value is masked except for unrestricted users.
Key is a Virtualhost name and value represents a headers list
Key is a Virtualhost name and value represents a headers list.
A blank value obfuscates ALL relative Virtualhost sent headers.
Note that just valued hearders are masked
Note that just valued hearders are masked.
.. note::

View File

@ -21,7 +21,7 @@ Just enable it in the Manager (section “plugins”). Then, set searching attri
- **Character used as wildcard**: Character that can be used by users as wildcard. An empty value disable wildcarded search requests.
- **Parameters control**: Regular expression used for checking searching values syntax
- **Searching attributes**: For each attribute, you have to set a key (attribute as defined in UserBD) and a value that will be display in login form (placeholder)
- **Excluding attributes**: You can defined here attributes used for excluding accounts. Set keys corresponding to UserBD attributes and values to exclude. A value can be a multivalued list separated by multiValueSeparator parameter (General Parameters > Advanced parameters > Separator)
- **Excluding attributes**: You can defined here attributes used for excluding accounts. Set keys corresponding to UserBD attributes and values to exclude. A value can be a multivalued list separated by multiValuesSeparator parameter (General Parameters > Advanced parameters > Separator)
.. attention::

View File

@ -497,13 +497,13 @@ sub _headers {
# Remove hidden headers relative to VHost if required
unless ( $self->unrestrictedUsersRule->( $req, $savedUserData ) ) {
my $keysToRemove = '';
$keysToRemove = '__all__'
$keysToRemove = '__ALL__'
if exists $self->conf->{checkUserHiddenHeaders}->{$vhost};
$keysToRemove = $self->conf->{checkUserHiddenHeaders}->{$vhost}
if ( $keysToRemove
&& $self->conf->{checkUserHiddenHeaders}->{$vhost} =~ /\w+/ );
if ( $keysToRemove && $keysToRemove eq '__all__' ) {
if ( $keysToRemove && $keysToRemove eq '__ALL__' ) {
$self->logger->debug(
"Overwrite for VirtualHost: $vhost ALL valued header(s)...");
@$headers = map {
@ -546,7 +546,6 @@ sub _headers {
$self->logger->debug(
"Return \"$attrs->{ $self->{conf}->{whatToTrace} }\" headers");
return $headers;
}