fix 1.26.2: merchant webui version.txt missing is INFO

This commit is contained in:
Hernâni Marques 2026-09-06 00:38:17 +02:00
parent bc785f8466
commit 6d5adeef9c
No known key found for this signature in database
5 changed files with 7 additions and 8 deletions

View file

@ -314,7 +314,7 @@ if [ "${AUTH401_FULL}" = "1" ]; then
if [ "$vcode" = "200" ] && [ -s "$tmp/spa-ver.txt" ]; then
ok "webui version.txt" "$(tr -d '\n\r' <"$tmp/spa-ver.txt")"
else
warn "webui version.txt" "HTTP ${vcode:-000}"
info "webui version.txt" "HTTP ${vcode:-000} · earlier merchant SPA versions had this stamp; current merchant packages often omit it · bank /webui/version.txt still present on current bank builds"
fi
# Download a slice of index.js — look for lowercasing mitigation (#11340)
jcode=$(curl -skS -m 60 -o "$tmp/spa-index.js" -w '%{http_code}' "$BASE/webui/index.js" 2>/dev/null || echo 000)