Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rss.php does not recognize all <link> as valid URL #2501

Closed
3 tasks done
boomboxnation opened this issue May 1, 2023 · 0 comments · Fixed by #2502
Closed
3 tasks done

rss.php does not recognize all <link> as valid URL #2501

boomboxnation opened this issue May 1, 2023 · 0 comments · Fixed by #2502

Comments

@boomboxnation
Copy link

Please complete the following tasks.

  • Web browser cache cleared
  • Link provided to install script if applicable
  • Web browser, ruTorrent, PHP and OS version provided

Tell us about your environment

Web Browser: Vivaldi Stable
rutorrent: master-current(?)
PHP 8.1.18
OS: Manjaro? Alpine-linux? Docker.

Tell us how you installed ruTorrent

docker pull ghcr.io/crazy-max/rtorrent-rutorrent:edge

Describe the bug

rss.php is not recognizing all <link> as valid urls and using the <guid> if valid instead. First discussed in #2500

Something in my torrent IDs is invalidating the valid URL checker.

https://www.BLARGH.net/tor/download.php/7W0pSLI4asiHLzxtEm83RzUKmn8yM6cjUuQGwdG5rrnXZjjibq,,yt6jo7Db+LBNBHXZ,6+tx9iGxqY,j,beUD9oJO,Ej4+yt+N8g6xJxxbF2ji9riA++libga39A7d6KuWJfsPKAnfAeqk3oylBjr8EuJqmSzfrJ6Va0GqtjMCMsSBj87bayo4=

This makes sense as like 3 out of 100 did load properly. Here is the URL for one I think loaded properly:

https://www.BLARGH.net/tor/download.php/qCc7UKnOT0nQIE+MfYeVO9zfJfe2++xYUTAq0IyMELTwB2iICoeH5hx9pwQwQPOvgGDp1,C9Ydv7ms12y0ai7BEpnFQbSPWgrgwC7CC+Q78lvU840bk2gMl3e94MqLVdN3UFbhADX5BDIEexzxZbgEzwYSfovbVX9plLCDPeP0WclkKKAao9umQ=

Entire <item> section for a non-loading one...

<item>
<guid>https://www.BLARGH.net/t/928108</guid>
<title>Just another linux iso</title>
<link>https://www.BLARGH.net/tor/download.php/7W0pSLI4asiHLzxtEm83RzUKmn8yM6cjUuQGwdG5rrnXZjjibq,,yt6jo7Db+LBNBHXZ,6+tx9iGxqY,j,beUD9oJO,Ej4+yt+N8g6xJxxbF2ji9riA++libga39A7d6KuWJfsPKAnfAeqk3oylBjr8EuJqmSzfrJ6Va0GqtjMCMsSBj87bayo4=</link>
<category>LINUX ISO</category>
<description>A single script to build a minimal live Linux operating system from source code that runs Doom on boot. <br/></description>
<pubDate>Sun, 30 Apr 2023 12:36:28 +0000</pubDate>
</item>

Steps to reproduce

Add an rss feed with <link> that fails the valid url checker but has a <guid> that succeeds.

Expected behavior

Recognize <link> as valid and Load.

Additional context

Please see the end half of #2500

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant