diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-05-28 14:53:04 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-04-01 13:24:40 +0200 |
commit | bfe02a0b481055bb4e799200c8daa9a0ad987c71 (patch) | |
tree | b82431b5ca4b24de1ddab6f0407e1ae7cda54083 /src/Wallabag/CoreBundle/Helper/ContentProxy.php | |
parent | 3620dae1e6b3fab5a4ba4001b4581ce7ed795996 (diff) | |
download | wallabag-bfe02a0b481055bb4e799200c8daa9a0ad987c71.tar.gz wallabag-bfe02a0b481055bb4e799200c8daa9a0ad987c71.tar.zst wallabag-bfe02a0b481055bb4e799200c8daa9a0ad987c71.zip |
Hash the urls to check if they exist
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper/ContentProxy.php')
-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 31953f12..0534d27b 100644 --- a/src/Wallabag/CoreBundle/Helper/ContentProxy.php +++ b/src/Wallabag/CoreBundle/Helper/ContentProxy.php | |||
@@ -248,6 +248,8 @@ class ContentProxy | |||
248 | { | 248 | { |
249 | $this->updateOriginUrl($entry, $content['url']); | 249 | $this->updateOriginUrl($entry, $content['url']); |
250 | 250 | ||
251 | $entry->setHashedUrl(hash('md5', $entry->getUrl())); | ||
252 | |||
251 | $this->setEntryDomainName($entry); | 253 | $this->setEntryDomainName($entry); |
252 | 254 | ||
253 | if (!empty($content['title'])) { | 255 | if (!empty($content['title'])) { |