HomeSoftware Heritage

Only warn about servername logging if relevant

Description

Only warn about servername logging if relevant

The warning about $use_servername_for_filenames is long and may not
affect users. If they use a normal $name, there would effectively be no
difference. This compares $name to $normalized_servername. The warning
is only relevant Only if they differ.

Technically there could be a space in $servername (since there is no
data type to enforce validation) but Apache wouldn't accept that anyway.

It also fixes two typos in the warnings.

Details

Provenance
Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>Authored on May 26 2021, 12:29 PM
olasdPushed on Dec 28 2021, 10:47 AM
Parents
rSPAPA958023b094af: Merge pull request #2142 from Pawa2NR/disk_cache
Branches
Unknown
Tags
Unknown

Event Timeline

Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> committed rSPAPA6a37b3669277: Only warn about servername logging if relevant (authored by Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>).Jun 15 2021, 2:49 PM