]> git.immae.eu Git - github/wallabag/wallabag.git/commit - tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php
ignoreOriginUrl: add initial support of ignore lists
authorKevin Decherf <kevin@kdecherf.com>
Mon, 22 Oct 2018 21:39:31 +0000 (23:39 +0200)
committerKevin Decherf <kevin@kdecherf.com>
Mon, 22 Oct 2018 21:42:09 +0000 (23:42 +0200)
commitb49c87acf12f22e38db751fb35be5da2436abc45
tree6b4abfd62e3b54cbe289ccb79891e14bf1fe80bf
parentfc040c749dec0275e562182562c1c1cb89e6cfa1
ignoreOriginUrl: add initial support of ignore lists

Add the ability to specify hosts and patterns lists to ignore the given
entry url and replace it with the fetched content url without touching
to origin_url.

This initial support should be reworked in the following months to move
the hardcoded ignore lists in the database.

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
src/Wallabag/CoreBundle/Helper/ContentProxy.php
tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php