summaryrefslogtreecommitdiff
path: root/plugins/af_proxy_http/init.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-08-16 12:53:51 +0300
committerAndrew Dolgov <[email protected]>2019-08-16 12:53:51 +0300
commit88077702f3a517a0c5b3dbf52acc3f2f51bc6c62 (patch)
tree17da7c296a12ce21368ce260afdf9b7eb2a566c2 /plugins/af_proxy_http/init.php
parent24f55d5b919d4b39664b245e51c1d7b984a9966c (diff)
parenta2d26867e653d34a80e504478ebe30ff69ef4a33 (diff)
Merge branch 'master' of git.fakecake.org:tt-rss
Diffstat (limited to 'plugins/af_proxy_http/init.php')
-rw-r--r--plugins/af_proxy_http/init.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/af_proxy_http/init.php b/plugins/af_proxy_http/init.php
index 421e04d1f..80100160d 100644
--- a/plugins/af_proxy_http/init.php
+++ b/plugins/af_proxy_http/init.php
@@ -141,8 +141,7 @@ class Af_Proxy_Http extends Plugin {
}
}
- return get_self_url_prefix() . "/public.php?op=pluginhandler&plugin=af_proxy_http&pmethod=imgproxy&url=" .
- urlencode($url);
+ return $this->host->get_public_method_url($this, "imgproxy", ["url" => $url]);
}
}
}