1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 06:45:54 +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:
Andrew Dolgov
2021-03-02 08:16:41 +03:00
parent 6f835ded78
commit 70adfd4a74
9 changed files with 19 additions and 19 deletions

View File

@@ -1278,7 +1278,7 @@ class Pref_Feeds extends Handler_Protected {
$is_cat = clean($_REQUEST['is_cat']) == "true";
$search = clean($_REQUEST['search']);
$link = get_self_url_prefix() . "/public.php?" . http_build_query([
$link = Config::get_self_url() . "/public.php?" . http_build_query([
'op' => 'rss',
'id' => $feed_id,
'is_cat' => (int)$is_cat,