From 6780646650486fd18c95a7756d8ff04acef3fb5c Mon Sep 17 00:00:00 2001 From: Banana Date: Tue, 22 Oct 2019 00:25:51 +0200 Subject: [PATCH] todo update --- TODO | 4 +--- webroot/view/home.inc.php | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 7cfc51a..ab41bae 100755 --- a/TODO +++ b/TODO @@ -1,10 +1,8 @@ TODO / Feature list ========================================================================== -+ auth and de-auth call over url only. Then display edit buttons -+ show private links if authenticated ++ delete of a link + stats, storage usage. With stats and valid auth display moderation + email import auto reply check -+ better url compare. eg. urls with / or without / at the end + sorting + snapshots + bookmark js snippet diff --git a/webroot/view/home.inc.php b/webroot/view/home.inc.php index 9dec91e..9ba58d5 100644 --- a/webroot/view/home.inc.php +++ b/webroot/view/home.inc.php @@ -57,6 +57,7 @@ if(isset($_POST['data']) && !empty($_POST['data']) && isset($_POST['submitsearch $isUrl = Summoner::validate($searchValue,'url'); if($isUrl === true) { # search for URL + $searchValue = trim($searchValue, "/"); $searchResult = $Management->searchForLinkByURL($searchValue); } elseif(Summoner::validate($searchValue,'text')) { -- 2.39.5