]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Try to find bad redirection after delete
authorJeremy Benoist <jeremy.benoist@gmail.com>
Fri, 17 Jun 2016 20:18:48 +0000 (22:18 +0200)
committerThomas Citharel <tcit@tcit.fr>
Thu, 23 Jun 2016 07:15:50 +0000 (09:15 +0200)
commit4e411208ccdbbb503ec430ef2b3c748a02abbbcd
tree772b20e221b419f1121555a786ce5ac361135d68
parent11493858a74af2f9b3f9e1fbbddbfffba5813813
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