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

Hide feed credentials when adding a new feed #3099

Merged
merged 1 commit into from
Jul 7, 2020

Conversation

Alkarex
Copy link
Member

@Alkarex Alkarex commented Jul 6, 2020

Avoid showing HTTP Basic Auth credentials in feed error log and in feed
title (when there is no title provided)

Avoid showing HTTP Basic Auth credentials in feed error log and in feed
title (when there is no title provided)
@Alkarex Alkarex added this to the 1.17.0 milestone Jul 6, 2020
@@ -287,7 +287,7 @@ public function load($loadDetails = false, $noCache = false) {
if ((!$mtime) || $simplePie->error()) {
$errorMessage = $simplePie->error();
throw new FreshRSS_Feed_Exception(
($errorMessage == '' ? 'Unknown error for feed' : $errorMessage) . ' [' . $url . ']'
($errorMessage == '' ? 'Unknown error for feed' : $errorMessage) . ' [' . $this->url . ']'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$this->url does not contain the user:password component, unlike $url which does

@Alkarex Alkarex merged commit 3f9518b into FreshRSS:master Jul 7, 2020
@Alkarex Alkarex deleted the anonymise_url_in_title branch July 7, 2020 08:54
@Alkarex Alkarex modified the milestones: 1.17.0, 1.16.3 Aug 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants