diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2019-06-05 11:38:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-05 11:38:00 +0200 |
commit | 16e1c07553d276f6a4df8fb0f2d1aa25026d73be (patch) | |
tree | 30771618e781968dbbc79fa7113db266017a35ae /src/Wallabag/CoreBundle/Helper | |
parent | 8671da5eadc93204f2742bb6b2b5b8fc1eddf131 (diff) | |
parent | d8809f70ea3a2f88635827b37af23b2fc2a93db6 (diff) | |
download | wallabag-16e1c07553d276f6a4df8fb0f2d1aa25026d73be.tar.gz wallabag-16e1c07553d276f6a4df8fb0f2d1aa25026d73be.tar.zst wallabag-16e1c07553d276f6a4df8fb0f2d1aa25026d73be.zip |
Merge pull request #3271 from wallabag/store-resolved-url
Add `given_url` in Entry table to check if a redirected url has already added
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper')
-rw-r--r-- | src/Wallabag/CoreBundle/Helper/ContentProxy.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/ContentProxy.php b/src/Wallabag/CoreBundle/Helper/ContentProxy.php index c6fa0d98..5901df8b 100644 --- a/src/Wallabag/CoreBundle/Helper/ContentProxy.php +++ b/src/Wallabag/CoreBundle/Helper/ContentProxy.php | |||
@@ -78,6 +78,8 @@ class ContentProxy | |||
78 | $entry->setUrl($url); | 78 | $entry->setUrl($url); |
79 | } | 79 | } |
80 | 80 | ||
81 | $entry->setGivenUrl($url); | ||
82 | |||
81 | $this->stockEntry($entry, $content); | 83 | $this->stockEntry($entry, $content); |
82 | } | 84 | } |
83 | 85 | ||