spip-contrib-extensions/waf
Par pierretux, le 22 avril 2026 à 08h58min :
fix: quick wins 1-5 — constants, i18n, CSS et redirect
- Ajoute WAF_REASON_BLACKLISTED_IP constant et remplace la string brute
- Ajoute info_no_data dans les 3 fichiers de langue (FR/EN/DE)
- Ajoute cfg_erreur_entier_min0/1 manquants dans waf_de.php
- Ajoute styles CSS pour BLACKLISTED_IP et INVALID_HOST_HEADER dans le dashboard
- Remplace la redirection hardcodée ‹ / › par _WAF_UNBLOCK_REDIRECT_URL (overridable dans mes_options.php)
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Modifié
lang/waf_de.php
lang/waf_en.php
lang/waf_fr.php
prive/style_prive_plugin_waf.html
waf_fonctions.php