diff options
author | Andrew Dolgov <[email protected]> | 2021-03-02 08:16:41 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-02 08:16:41 +0300 |
commit | 70adfd4a742775f492bbf09afad2eebb67d4a150 (patch) | |
tree | 9dd347bb9dfd811ecdc26a7fe0811057a43e3189 /plugins | |
parent | 6f835ded780cdc9e1a663667dd5221a0cc835571 (diff) |
* 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
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/bookmarklets/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bookmarklets/init.php b/plugins/bookmarklets/init.php index b90c40598..eabb33510 100644 --- a/plugins/bookmarklets/init.php +++ b/plugins/bookmarklets/init.php @@ -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 ?>"> |