From 4ef52d682560e95fed3a718bec04437e86199e40 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 13 Aug 2025 22:53:09 +0200 Subject: [PATCH] Fix share XML encoding (#7822) Maybe related to https://github.com/FreshRSS/FreshRSS/issues/7820 --- app/shares.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/shares.php b/app/shares.php index 765327580..3717d48e3 100644 --- a/app/shares.php +++ b/app/shares.php @@ -57,7 +57,7 @@ return [ 'method' => 'GET', ], 'buffer' => [ - 'url' => 'https://publish.buffer.com/compose?url=~LINK~&text=~TITLE~', + 'url' => 'https://publish.buffer.com/compose?url=~LINK~&text=~TITLE~', 'transform' => ['rawurlencode'], 'help' => 'https://support.buffer.com/hc/en-us/articles/360035587394-Scheduling-posts', 'form' => 'simple', @@ -103,27 +103,27 @@ return [ 'method' => 'GET', ], 'jdh' => [ - 'url' => 'https://www.journalduhacker.net/stories/new?url=~LINK~&title=~TITLE~', + 'url' => 'https://www.journalduhacker.net/stories/new?url=~LINK~&title=~TITLE~', 'transform' => ['rawurlencode'], 'form' => 'simple', 'method' => 'GET', ], 'Known' => [ - 'url' => '~URL~/share?share_url=~LINK~&share_title=~TITLE~', + 'url' => '~URL~/share?share_url=~LINK~&share_title=~TITLE~', 'transform' => ['rawurlencode'], 'help' => 'https://withknown.com/', 'form' => 'advanced', 'method' => 'GET', ], 'lemmy' => [ - 'url' => '~URL~/create_post?url=~LINK~&title=~TITLE~', + 'url' => '~URL~/create_post?url=~LINK~&title=~TITLE~', 'transform' => ['rawurlencode'], 'help' => 'https://join-lemmy.org/', 'form' => 'advanced', 'method' => 'GET', ], 'linkding' => [ - 'url' => '~URL~/bookmarks/new?url=~LINK~&title=~TITLE~&auto_close', + 'url' => '~URL~/bookmarks/new?url=~LINK~&title=~TITLE~&auto_close', 'transform' => ['rawurlencode'], 'help' => 'https://github.com/sissbruecker/linkding/blob/master/docs/how-to.md', 'form' => 'advanced', @@ -136,7 +136,7 @@ return [ 'method' => 'GET', ], 'mastodon' => [ - 'url' => '~URL~/share?title=~TITLE~&url=~LINK~', + 'url' => '~URL~/share?title=~TITLE~&url=~LINK~', 'transform' => ['rawurlencode'], 'help' => 'https://joinmastodon.org/', 'form' => 'advanced', @@ -184,7 +184,7 @@ return [ 'method' => 'GET', ], 'raindrop' => [ - 'url' => 'https://app.raindrop.io/add?link=~LINK~&title=~TITLE~', + 'url' => 'https://app.raindrop.io/add?link=~LINK~&title=~TITLE~', 'transform' => ['rawurlencode'], 'form' => 'simple', 'method' => 'GET', @@ -204,7 +204,7 @@ return [ 'method' => 'GET', ], 'telegram' => [ - 'url' => 'https://t.me/share/url?url=~LINK~&text=~TITLE~', + 'url' => 'https://t.me/share/url?url=~LINK~&text=~TITLE~', 'transform' => ['rawurlencode'], 'form' => 'simple', 'method' => 'GET', @@ -237,7 +237,7 @@ return [ 'method' => 'GET', ], 'whatsapp' => [ - 'url' => 'https://wa.me/?text=~TITLE~ | ~LINK~', + 'url' => 'https://wa.me/?text=~TITLE~%20|%20~LINK~', 'transform' => ['rawurlencode'], 'help' => 'https://faq.whatsapp.com/iphone/how-to-link-to-whatsapp-from-a-different-app/?lang=en', 'form' => 'simple',