1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 03:15:56 +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

@@ -146,7 +146,7 @@ class Bookmarklets extends Plugin {
if ($feed_id) {
?>
<form method='GET' action="<?= htmlspecialchars(get_self_url_prefix() . "/prefs.php") ?>">
<form method='GET' action="<?= htmlspecialchars(Config::get_self_url() . "/prefs.php") ?>">
<input type='hidden' name='tab' value='feeds'>
<input type='hidden' name='method' value='editfeed'>
<input type='hidden' name='methodparam' value="<?= $feed_id ?>">