From: Banana Date: Mon, 21 Oct 2019 22:25:51 +0000 (+0200) Subject: todo update X-Git-Tag: 2.2_2019-12-27~17 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=6780646650486fd18c95a7756d8ff04acef3fb5c;p=insipid.git todo update --- 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')) {