mdn / mdn/browser-compat-data

http.headers.Referer - labelling of new safety restrictions

Open
#14,229 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

data:http question
Dominant language
JSON
Stars
5.8k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
186

Description

What information was incorrect, unhelpful, or incomplete?

(edited to reflect the change of focus from 5 April comment below)

It seems like the wording of this item could be improved.

Unless one already knows why a restriction applies, one could be mistaken for assuming that it's a hold-over from older less capable browsers, when in fact the opposite is the case: it's the newer browsers providing a protection feature.

There's a row in the Browser Compatibility section for

Length limited to 4096 bytes

which like everything else has green for full support, or red for no support.

If this is about imposing a limit to prevent attacks on web servers, that could also be clarified. Maybe label it as

Safety limit imposed on length (4096 bytes)

What did you expect to see?

Clarification on whether full support actually means more restrictive or less restrictive, and why.

Did you test this? If so, how?

No need.

MDN page report details

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the MDN Referer page named in the report and inspect the Browser Compatibility row for “Length limited to 4096 bytes.” Clarify whether full support means a browser applies the restriction, and why it exists; done when the label and surrounding explanation make the safety limit unambiguous.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.