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

xmlPaths in .opml feed definition files are unescaped #96

Open
agodbehere opened this issue Jun 22, 2018 · 1 comment
Open

xmlPaths in .opml feed definition files are unescaped #96

agodbehere opened this issue Jun 22, 2018 · 1 comment

Comments

@agodbehere
Copy link

Issue

When specifying an RSS feed path with special characters such as &, baleen fails to find posts.

I have confirmed that this can be corrected by manually escaping xmlPaths.

Resolution

For example, when specifying a url like http://foobar.com/RSS.ashx?max=100&ContentType=1Site=727 in an .opml file, it needs to be modified to http://foobar.com/RSS.ashx?max=100&ContentType=1&Site=727 in order to work correctly. baleen should auto-escape URLs to make such a manual correction unnecessary.

@bbengfort
Copy link
Member

@agodbehere thanks for the bug report -- I'll take a look at this when I get the chance; we're using BeautifulSoup for the XML parsing, and that's my current theory of where the escaping is happening. Pull requests to the develop branch are welcome!

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

No branches or pull requests

2 participants