Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't cache requests without a SID header (#1056)
Prevents unauthenticated requests becoming cached for all users. The Request-Token is not as random as we thought. It is calculated by `(CurrentRequestId + 1) & 0xFFFFFF | (UnixTime(DateTime.UtcNow) << 24)` which could mean that two clients making a series of unauthenticated requests at the same time could receive the same token, i.e. it is not actually pseudo- random as originally assumed.
- Loading branch information