summaryrefslogtreecommitdiffstats
path: root/prog/skovikanje/komentar.php
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-12-06 20:09:53 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-12-06 20:09:53 +0100
commit787a189b5773928bfcb09173c4407475ea6b0219 (patch)
tree80802d5ed7f9d1dc410b62ee123e1f4cd3756db8 /prog/skovikanje/komentar.php
parentmalo lepši output (diff)
downloadr-787a189b5773928bfcb09173c4407475ea6b0219.tar
r-787a189b5773928bfcb09173c4407475ea6b0219.tar.gz
r-787a189b5773928bfcb09173c4407475ea6b0219.tar.bz2
r-787a189b5773928bfcb09173c4407475ea6b0219.tar.lz
r-787a189b5773928bfcb09173c4407475ea6b0219.tar.xz
r-787a189b5773928bfcb09173c4407475ea6b0219.tar.zst
r-787a189b5773928bfcb09173c4407475ea6b0219.zip
Diffstat (limited to 'prog/skovikanje/komentar.php')
-rw-r--r--prog/skovikanje/komentar.php2
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");
}