Skip to content

Do not set referer header when anchor has rel="noreferrer" #546

@Jaaap

Description

@Jaaap

It appears that referer headers are sent after clicking on a link even when the anchor has the rel="noreferrer" attribute set (see HtmlAnchor.java:174).

Please add a check for the rel attribute of anchors (forms can have them too) and do not set the referer header when its value is noreferrer.

More info: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions