Skip to content

net/http: be more careful about when we send Referer headers #8417

Closed
@bradfitz

Description

@bradfitz
We shouldn't:

1) send https referers to non-http sites on redirects (IIRC)
2) send username:password@ URL components in redirects

Part 2) and part of part 1) was implemented in https://golang.org/cl/9766046/
but never submitted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeSuggestedIssues that may be good for new contributors looking for work to do.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions