diff --git a/controllers/manage/POST.php b/controllers/manage/POST.php index af92e2c..c504736 100644 --- a/controllers/manage/POST.php +++ b/controllers/manage/POST.php @@ -57,7 +57,7 @@ function validateInput(string $url) { $error = "That URL doesn't looks right. Please try again."; } else if (substr($url, 0, 4) !== "http") { setStatusCode(400); - $error = "Only http:// and https:// are supported."; + $error = "Only http:// and https:// URLs are supported."; } else if ( ($hostname && !$ip && !dns_get_record($hostname, DNS_A | DNS_AAAA | DNS_CNAME)) || ($ip && !filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE)) diff --git a/templates/pages/fragments/creation-successful.php b/templates/pages/fragments/creation-successful.php index 221844d..9a0209e 100644 --- a/templates/pages/fragments/creation-successful.php +++ b/templates/pages/fragments/creation-successful.php @@ -3,4 +3,4 @@ -Click here to create a new link. +Click here to create another link.