top | item 42647619

(no title)

derN3rd | 1 year ago

To allow the maintainers of the projects to see in the traffic analytics where an influx of stars comes from, I guess

https://docs.github.com/en/repositories/viewing-activity-and...

discuss

order

aendruk|1 year ago

Surely that must use conventional HTTP referrer data—for which we have well established standards, decades of experience managing interactions and edge cases, and norms for respecting user consent—and not some apparently wishful query parameter?

mrngm|1 year ago

https://httpwg.org/specs/rfc9110.html#field.referer

  A user agent SHOULD NOT send a Referer header field if the referring resource was accessed with a secure protocol and the request target has an origin differing from that of the referring resource, unless the referring resource explicitly allows Referer to be sent. A user agent MUST NOT send a Referer header field in an unsecured HTTP request if the referring resource was accessed with a secure protocol.
In other words, it's not guaranteed that this Referer header is set. One can of course choose to remove the query parameter.