From 170e2ab11dd5a8b3c35cb822bc0b1562d5d7c1a9 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 12 Jul 2025 22:49:48 +0200 Subject: [PATCH] Revert "ech_tests.sh: replace PN abbrev to pacify the typos tool" This reverts commit 15f7fc1e29e7a45f3dd29508ee392cfb58af4332. --- .github/scripts/typos.toml | 2 +- tests/ech_tests.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/scripts/typos.toml b/.github/scripts/typos.toml index b051e2d572..d1abf6f429 100644 --- a/.github/scripts/typos.toml +++ b/.github/scripts/typos.toml @@ -4,7 +4,7 @@ [default] extend-ignore-identifiers-re = [ - "(ba|BA|FU|Iy|ND|OT|pn|ue|UE)", + "(ba|BA|FU|Iy|ND|OT|pn|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)", diff --git a/tests/ech_tests.sh b/tests/ech_tests.sh index b8faf03f60..ce0b4870e8 100755 --- a/tests/ech_tests.sh +++ b/tests/ech_tests.sh @@ -415,15 +415,15 @@ then fi if [[ "$host" == "cloudflare-ech.com" ]] then - echo "Skipping $host as they've blocked public name override" + echo "Skipping $host as they've blocked PN override" continue fi path=${ech_targets[$targ]} turl="https://$host:$port/$path" - echo "Public name override check for $turl" + echo "PN override check for $turl" { echo "" - echo "Public name override check for $turl" + echo "PN 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 "Public name override Error ($eres) for $turl" >> "$logfile" - echo -e "\tPublic name override Error ($eres) for $turl" + echo "PN override Error ($eres) for $turl" >> "$logfile" + echo -e "\tPN override Error ($eres) for $turl" fi echo "" >> "$logfile" done