fix(frontend): RSSウィジェットでURLエンコードを二重に行っている問題を修正 (#15272)
* don't double-url-encode rss urls
`url.searchParams.set()` already encodes the values passed!
(this is a partial revert of 0472d43ee9
,
the change in `statusbar-rss.vue` was correct)
* Update Changelog
---------
Co-authored-by: dakkar <dakkar@thenautilus.net>
This commit is contained in:
@@ -99,7 +99,7 @@ const items = computed(() => {
|
||||
const fetching = ref(true);
|
||||
const fetchEndpoint = computed(() => {
|
||||
const url = new URL('/api/fetch-rss', base);
|
||||
url.searchParams.set('url', encodeURIComponent(widgetProps.url));
|
||||
url.searchParams.set('url', widgetProps.url);
|
||||
return url;
|
||||
});
|
||||
const intervalClear = ref<(() => void) | undefined>();
|
||||
|
Reference in New Issue
Block a user