summaryrefslogtreecommitdiff
path: root/src/cache.cpp
diff options
context:
space:
mode:
authorGravatar Simon Schuster <git@rationality.eu> 2017-07-26 16:46:33 +0200
committerGravatar Simon Schuster <git@rationality.eu> 2017-07-26 21:58:31 +0200
commit678a9db9c5195f3c6f2c74934b45b4cb1b4e4597 (patch)
treedd3a063dea89acd2c0ee69fd046f9a02e592d9f0 /src/cache.cpp
parentd20cf49a5b83ed209ca08def2629aae669e16b08 (diff)
downloadnewsboat-678a9db9c5195f3c6f2c74934b45b4cb1b4e4597.tar.gz
newsboat-678a9db9c5195f3c6f2c74934b45b4cb1b4e4597.tar.zst
newsboat-678a9db9c5195f3c6f2c74934b45b4cb1b4e4597.zip
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:htpasswd@ttrssinstance.example.org" 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.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions