ech_tests.sh: replace PN abbrev to pacify the typos tool

This commit is contained in:
Viktor Szakats 2025-07-12 22:48:43 +02:00
parent b3ecec1fc3
commit c64db54d8f
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
2 changed files with 6 additions and 6 deletions

View file

@ -4,7 +4,7 @@
[default]
extend-ignore-identifiers-re = [
"(ba|BA|FU|Iy|ND|OT|pn|PN|ue|UE)",
"(ba|BA|FU|Iy|ND|OT|pn|ue|UE)",
"(ben|CNA|ECT|EDE|Jod|kno|MEK|Ned|noo|nto|ser|Typ|URE)",
"(admi|alue|CLEA|clen|GOST|HELO|helo|htpt|PASE)",
"(HEADE|numer|optin|stati)",

View file

@ -415,15 +415,15 @@ then
fi
if [[ "$host" == "cloudflare-ech.com" ]]
then
echo "Skipping $host as they've blocked PN override"
echo "Skipping $host as they've blocked public name override"
continue
fi
path=${ech_targets[$targ]}
turl="https://$host:$port/$path"
echo "PN override check for $turl"
echo "Public name override check for $turl"
{
echo ""
echo "PN override check for $turl"
echo "Public name override check for $turl"
} >> "$logfile"
timeout "$tout" "$CURL" "${CURL_PARAMS[@]}" --ech pn:override --ech hard "$turl" >> "$logfile" 2>&1
eres=$?
@ -439,8 +439,8 @@ then
if [[ "$eres" != "0" ]]
then
allgood="no"
echo "PN override Error ($eres) for $turl" >> "$logfile"
echo -e "\tPN override Error ($eres) for $turl"
echo "Public name override Error ($eres) for $turl" >> "$logfile"
echo -e "\tPublic name override Error ($eres) for $turl"
fi
echo "" >> "$logfile"
done