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
Regression: basic authentication in URL does not work #84
Comments
Are there non-ascii characters in the |
Nope, purely uppercase and lowercase ASCII Latin and digits. |
That’s a classic issue; we are probably using a bytes-based function and passing a unicode string. |
URLs of this format used to work: Now I get "processing error: nonnumeric port: 'pass'". It is not correctly parsing the URL and interprets the password to be the port. |
With what version of feedparser is this new error? Also, do you remember with what versions of rss2email/feedparser the “previously working” behavior was? |
I think it was a 2.x version of rss2email. I copied that comment from my 2017 report in the wking repository. |
Hmm ok, thank you :) just, do you know whether this is happening with feedparser 5 or 6 ? |
I am seeing this problem in the rss2email package in Debian which depends on python3-feedparser 5.2. |
http://test:password@foo.com/bar.php can be used to test this since nothing is sent to the server.
The problem is entirely in feedparser. Encoding user_passwd (in feedparser) fixes the initial error and then throws the same error in
|
Hmm ok, so I guess let's block this on #73 and see whether it still happens after that is fixed, and then reevaluate whether it's an upstream issue or a local one :) |
Feedparser 6.0.1 has the same problem, kurtmckee/feedparser#234 fixes it. |
This is fixed with feedparser 6.0.5. After #188 is merged the required version in setup.py and pyproject.toml should be bumped. |
Should hopefully be fixed now :) Thank you all for your help! |
It used to work in an ancient Python 2 version of
rss2email
.The text was updated successfully, but these errors were encountered: