aboutsummaryrefslogtreecommitdiff
path: root/lib/lib_rss.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-03-22 23:13:13 +0100
committerGravatar GitHub <noreply@github.com> 2022-03-22 23:13:13 +0100
commite8af54a476a7c311827700dd814b81b43b4180f5 (patch)
tree181d24e085439975276d2c9922282a03776eedf1 /lib/lib_rss.php
parentb0a63355b66d0cc431c9b1af96622c2360207565 (diff)
WebSub: Use hash instead of base64 to handle long URLs (#4282)
* WebSub: Use hash instead of base64 to handle long URLs * Use 410 Gone (Part of the WebSub specification https://www.w3.org/TR/websub/ )
Diffstat (limited to 'lib/lib_rss.php')
-rw-r--r--lib/lib_rss.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php
index 9f931a0ac..6929b316c 100644
--- a/lib/lib_rss.php
+++ b/lib/lib_rss.php
@@ -700,15 +700,6 @@ function remove_query_by_get($get, $queries) {
return $final_queries;
}
-//RFC 4648
-function base64url_encode($data) {
- return strtr(rtrim(base64_encode($data), '='), '+/', '-_');
-}
-//RFC 4648
-function base64url_decode($data) {
- return base64_decode(strtr($data, '-_', '+/'));
-}
-
function _i($icon, $url_only = false) {
return FreshRSS_Themes::icon($icon, $url_only);
}