Percent encoded url handling
Jimmy-Z opened this issue · comments
Debian Buster
ruby -v
ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux-gnu]transmission-rss -v
1.2.0- The content for your configuration file.
feeds:
url: https://example.com/rss/?test%2ftest - Relevant lines from log output.
(debug) aggregate https://example.com/rss/?test%252ftest
From the look of the log, %2f got percent encoded again to %252f, which will result in 500 server error for my case.
I had to decode the url into https://example.com/rss/?test/test to make it work.
Percent encoded rss url does exist, some rss sites have query/token(per user feeds) support.