namespace content {}Please fix this WARNING reported by autoreview issue finding: This empty namespace declaration seems to be a leftover and can be removed.
}Please fix this WARNING reported by autoreview issue finding: If the redirect is to a URL that is NOT a search provider, the 'X-Geo' header added in a previous hop will still be sent because SetRequestHeader persists across redirects. You should call navigation_handle()->RemoveRequestHeader(\"X-Geo\") here to prevent leaking location data to non-search URLs during redirects.
Is there anything to this autoreview finding?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Please fix this WARNING reported by autoreview issue finding: This empty namespace declaration seems to be a leftover and can be removed.
Done
Please fix this WARNING reported by autoreview issue finding: If the redirect is to a URL that is NOT a search provider, the 'X-Geo' header added in a previous hop will still be sent because SetRequestHeader persists across redirects. You should call navigation_handle()->RemoveRequestHeader(\"X-Geo\") here to prevent leaking location data to non-search URLs during redirects.
Is there anything to this autoreview finding?
Yeah this is a good catch. I added logic to remove the header if it redirects to a non-DSE origin and added some tests.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |