diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-12-08 20:17:50 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-12-08 20:17:50 +0100 |
commit | a7d227edcbeefbeb37df118664ac9b202bb064fd (patch) | |
tree | 6e98d5b71606db0ba68001b54fbd0c67fac8b31c /prog/skovikanje/komentar.php | |
parent | new research (diff) | |
parent | aoc8 (diff) | |
download | r-a7d227edcbeefbeb37df118664ac9b202bb064fd.tar r-a7d227edcbeefbeb37df118664ac9b202bb064fd.tar.gz r-a7d227edcbeefbeb37df118664ac9b202bb064fd.tar.bz2 r-a7d227edcbeefbeb37df118664ac9b202bb064fd.tar.lz r-a7d227edcbeefbeb37df118664ac9b202bb064fd.tar.xz r-a7d227edcbeefbeb37df118664ac9b202bb064fd.tar.zst r-a7d227edcbeefbeb37df118664ac9b202bb064fd.zip |
Diffstat (limited to 'prog/skovikanje/komentar.php')
-rw-r--r-- | prog/skovikanje/komentar.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/skovikanje/komentar.php b/prog/skovikanje/komentar.php index 662b7b4..78b9c6e 100644 --- a/prog/skovikanje/komentar.php +++ b/prog/skovikanje/komentar.php @@ -17,7 +17,7 @@ if (!empty($_POST["antispam"])) $_SESSION["antispam"] = $_POST["antispam"]; if (str_contains($koga, "..") || str_contains($koga, "/")) die("brez .. in / v id-ju komentarja!"); -$naregex = "/^[a-z0-9-+čžš]*$/i"; +$naregex = "/^[a-z0-9-+čžš<>]*$/i"; if (!preg_match($naregex, $na)) { die("na bi moral ustrezati $naregex"); } |