This repository has been archived by the owner on Oct 10, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TTRSS-API: only set auth_info for "Single" ttrss-mode
Currently, newsbeuter sets the HTTP-Auth parameter for all requests that target the TTRSS-api from the "ttrss-login" and "ttrss-password" config file options. This explicitly provided auth_info takes precedence over optionally provided user-information in libcurl. Therefore the following config settings urls-source "ttrss" ttrss-url "https://htuser:[email protected]" ttrss-login "ttrssuser" ttrss-password "ttrsspasswd" will try to query "trssinstance.example.org" with auth_info "ttrssuser:ttrsspasswd" and consequently fail, while libcurl as such would happily accept the auth info from "ttrss-url" when no explicit auth-info was provided. This commit rectifies this and consequently allows newsbeuter to use multiuser-TTRSS instances which are hosted behind http-basic auth.
- Loading branch information