Referer header size is now limited to 4 KB


Categories: Networking

Releases: Firefox 70, Firefox 78 ESR


Starting with Firefox 70, the size of the Referer HTTP request header is limited to 4 KB (4,096 bytes). If an overly long referer exceeds the defined limit, only the origin part will be sent. If the origin part still exceeds the limit, which is unlikely to happen though, the header will be completely truncated.

Google Chrome has made the same change in version 77.