]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
EntryRestController::getEntriesExistsAction: always find by hashed url
authorOlivier Mehani <shtrom@ssji.net>
Thu, 2 May 2019 11:19:20 +0000 (21:19 +1000)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Fri, 24 May 2019 13:17:45 +0000 (15:17 +0200)
Simplify the logic from #3158 by hashing all the urls from the request,
and only doing a search by hash. This allows to get performance benefits
from the new indexed hash column even when using older clients that do
not hash the URL in the request.

Fixes: #3158, #3919
Signed-off-by: Olivier Mehani <shtrom@ssji.net>

No differences found