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.