mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:45:55 +00:00
Allow links to m.imgur.com pages
This commit is contained in:
@@ -92,7 +92,7 @@ class Af_RedditImgur extends Plugin {
|
||||
|
||||
// links to imgur pages
|
||||
$matches = array();
|
||||
if (preg_match("/^https?:\/\/imgur.com\/([^\.\/]+$)/", $entry->getAttribute("href"), $matches)) {
|
||||
if (preg_match("/^https?:\/\/(m\.)?imgur.com\/([^\.\/]+$)/", $entry->getAttribute("href"), $matches)) {
|
||||
|
||||
$token = $matches[1];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user