mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 01:05:56 +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
|
// links to imgur pages
|
||||||
$matches = array();
|
$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];
|
$token = $matches[1];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user