diff options
| author | 2018-06-02 23:08:09 +0200 | |
|---|---|---|
| committer | 2018-06-02 23:08:09 +0200 | |
| commit | ccc62b0a2cb41663ebee7b33601c5fb1d000d4cb (patch) | |
| tree | 610624f5d6fbc8aea2f32307163e385bae957d52 /app/Models | |
| parent | 15f0ad645265d652c69c298121d7c0a37c06718d (diff) | |
Use cURL for GET full content (#1913)
* Use cURL for GET full content
Fix https://github.com/FreshRSS/FreshRSS/issues/1870
* Changelog 1870
https://github.com/FreshRSS/FreshRSS/issues/1870
https://github.com/FreshRSS/FreshRSS/pull/1913
Diffstat (limited to 'app/Models')
| -rw-r--r-- | app/Models/Entry.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Models/Entry.php b/app/Models/Entry.php index 0ad3781e5..c6b26a7cc 100644 --- a/app/Models/Entry.php +++ b/app/Models/Entry.php @@ -193,7 +193,8 @@ class FreshRSS_Entry extends Minz_Model { try { // l'article n'est pas en BDD, on va le chercher sur le site $this->content = get_content_by_parsing( - htmlspecialchars_decode($this->link(), ENT_QUOTES), $pathEntries + htmlspecialchars_decode($this->link(), ENT_QUOTES), $pathEntries, + $this->feed->attributes() ); } catch (Exception $e) { // rien à faire, on garde l'ancien contenu(requête a échoué) |
