The ampersands within a Last.fm API url are being converted/expanded to & causing FreshRSS to fail as the URL doesn't actually exist.
For example:
I'll enter https://ws.audioscrobbler.com/2.0/?api_key=[REDACTED]&method=user.getrecenttracks&user=rj&format=json&limit=10&extended=1 and it will be changed to https://ws.audioscrobbler.com/2.0/?api_key=[REDACTED]&method=user.getrecenttracks&user=rj&format=json&limit=10&extended=1 which is apparently invalid.
This does not happen with other URL's I've used as sources.
To Reproduce
Go to 'Add a new subsciption'
Paste feed URL into Feed URL textbox
Click 'Type of feed source' and change to JSON (dot notation)
Configure dot notation accordingly
Click 'Add'
Update the feed
Log files show JSON dot notation parsing failed for [https://ws.audioscrobbler.com/2.0/?api_key=[REDACTED]&method=user.getrecenttracks&user=rj&format=json&limit=10&extended=1]
Expected behavior
It should not convert & to & in order for FreshRSS to access the URL correctly.
I believe the bug is only in the logs (wrongly double escaping the URL) and not in the actual request.
The most likely is that the JSON dot notation was wrong
Describe the bug
The ampersands within a Last.fm API url are being converted/expanded to & causing FreshRSS to fail as the URL doesn't actually exist.
For example:
I'll enter
https://ws.audioscrobbler.com/2.0/?api_key=[REDACTED]&method=user.getrecenttracks&user=rj&format=json&limit=10&extended=1
and it will be changed tohttps://ws.audioscrobbler.com/2.0/?api_key=[REDACTED]&method=user.getrecenttracks&user=rj&format=json&limit=10&extended=1
which is apparently invalid.This does not happen with other URL's I've used as sources.
To Reproduce
JSON dot notation parsing failed for [https://ws.audioscrobbler.com/2.0/?api_key=[REDACTED]&method=user.getrecenttracks&user=rj&format=json&limit=10&extended=1]
Expected behavior
It should not convert & to & in order for FreshRSS to access the URL correctly.
FreshRSS version
1.24.1
Environment information
Additional context
API docs are here API key its self is a 32 character alphanumeric string