summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-07-27 07:19:59 +0300
committerAndrew Dolgov <[email protected]>2022-07-27 07:19:59 +0300
commite507d006fdc1248a7386f7103504454745761f7d (patch)
treeb123df8f4744007dd0259fcc2c0e5bd7d0922603 /plugins
parent6a68ed0208b0b9eda5a4c9ea53f5dc699e4d9b12 (diff)
Revert "af_redditimgur: absolutize links before working on them"
This reverts commit 6a68ed0208b0b9eda5a4c9ea53f5dc699e4d9b12.
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/af_redditimgur/init.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/af_redditimgur/init.php b/plugins/af_redditimgur/init.php
index 3ca3b9209..88768dac4 100755
--- a/plugins/af_redditimgur/init.php
+++ b/plugins/af_redditimgur/init.php
@@ -651,9 +651,7 @@ class Af_RedditImgur extends Plugin {
$xpath = new DOMXPath($doc);
/** @var ?DOMElement $content_link */
- $content_link = UrlHelper::rewrite_relative($article["link"],
- $xpath->query("(//a[contains(., '[link]')])")->item(0),
- "a");
+ $content_link = $xpath->query("(//a[contains(., '[link]')])")->item(0);
if ($this->host->get($this, "enable_content_dupcheck")) {