mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-27 21:57:10 +00:00
* sanitize: never rewrite relative links to our own prefix
* use Config::get_self_url() instead of get_self_url_prefix() in a bunch of places
This commit is contained in:
@@ -273,7 +273,7 @@ class DiskCache {
|
||||
}
|
||||
|
||||
public function get_url($filename) {
|
||||
return get_self_url_prefix() . "/public.php?op=cached&file=" . basename($this->dir) . "/" . basename($filename);
|
||||
return Config::get_self_url() . "/public.php?op=cached&file=" . basename($this->dir) . "/" . basename($filename);
|
||||
}
|
||||
|
||||
// check for locally cached (media) URLs and rewrite to local versions
|
||||
|
||||
Reference in New Issue
Block a user