summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorAnton Šijanec <sijanecantonluka@gmail.com>2019-02-11 15:26:02 +0100
committerGitHub <noreply@github.com>2019-02-11 15:26:02 +0100
commitf295c63896a1913c14db341b0e8238115a7f5e18 (patch)
tree2f60e7867c325c4c8cc8ee50eebb58bb47302a47 /index.php
parentUpdated index.php (diff)
downloadbalkan-shortlink-f295c63896a1913c14db341b0e8238115a7f5e18.tar
balkan-shortlink-f295c63896a1913c14db341b0e8238115a7f5e18.tar.gz
balkan-shortlink-f295c63896a1913c14db341b0e8238115a7f5e18.tar.bz2
balkan-shortlink-f295c63896a1913c14db341b0e8238115a7f5e18.tar.lz
balkan-shortlink-f295c63896a1913c14db341b0e8238115a7f5e18.tar.xz
balkan-shortlink-f295c63896a1913c14db341b0e8238115a7f5e18.tar.zst
balkan-shortlink-f295c63896a1913c14db341b0e8238115a7f5e18.zip
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index daec093..2d0324f 100644
--- a/index.php
+++ b/index.php
@@ -137,7 +137,7 @@ if($captcha !== "ne") {
if(preg_match($rxshort, $_REQUEST['short'])) {
$log .= "Preverjanje krajšalnega niza je pozitivno. Krajševalni niz se lahko uporabi.\n";
} else {
- $log .= "Krajšalni niz se ne ujema z regexom " . $rxshort . ", zato ne bom nadaljeval.\n";
+ $log .= "Krajšalni niz se ne ujema z regexom " . $rxshort . ", zato ne bom nadaljeval. \n";
$nadaljuj = "ne";
$alert .= "<div class=alert>
<span class=closebtn onclick=this.parentElement.style.display='none';>&times;</span>
@@ -154,7 +154,7 @@ if(filter_var($_REQUEST['long'], FILTER_VALIDATE_URL)) {
$nadaljuj = "ne";
$alert .= "<div class=alert>
<span class=closebtn onclick=this.parentElement.style.display='none';>&times;</span>
-<b>Napaka vnosa!</b> Dolg URL se ne ujema z standardi. Poskusite ponovno.
+<b>Napaka vnosa!</b> Dolg URL se ne ujema z standardi. Poskusite ponovno. Posebni znaki v URL-ju (kot na primer š) morajo biti URL kodirani.
</div><br>";
}