-
Notifications
You must be signed in to change notification settings - Fork 910
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
Fixes subdomain logging for rewards #1030
Conversation
67d5dc4
to
22b5d2a
Compare
@@ -379,6 +379,8 @@ void RewardsServiceImpl::OnLoad(SessionID tab_id, const GURL& url) { | |||
if (baseDomain == "") | |||
return; | |||
|
|||
const std::string publisher_url = origin.scheme() + "://" + baseDomain + "/"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
an actual fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note that this would return http:///
/ https:///
for all IP address URLs
2062cd0
to
5056851
Compare
5056851
to
0afb3e2
Compare
0afb3e2
to
5110fe1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++
Fixes subdomain logging for rewards
Resolves brave/brave-browser#2073
Submitter Checklist:
npm test brave_unit_tests && npm test brave_browser_tests
) ongit rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
Reviewer Checklist: