]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Try to find bad redirection after delete 2156/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Fri, 17 Jun 2016 20:18:48 +0000 (22:18 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Fri, 17 Jun 2016 20:18:48 +0000 (22:18 +0200)
commitce0e9ec31bf6b9d144a2bd7dbd3c912ac59539d6
treefadab5a5e2744feb46c75ea2c548d3eeb2e6721d
parent77c530f43c8d0efd72c12e0b723982a5377c5bc9
Try to find bad redirection after delete

Instead of checking for the whole absolute url, we just check with the relative url.
If the referer ends with the relative url of the deleted entry, don't redirect to the referer.
src/Wallabag/CoreBundle/Controller/EntryController.php