From 2bce50dac6b5e63ebd2d3bf4c2841392689a981e Mon Sep 17 00:00:00 2001 From: overflowerror Date: Sun, 3 Dec 2023 14:35:43 +0100 Subject: [PATCH] fix: Small text change --- controllers/manage/POST.php | 2 +- templates/pages/fragments/creation-successful.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.