3 ms·
The authorization cookie has neither the secure flag or http flag set. i.e. If you could get the client to redirect to http://paste.sh http://paste.sh it would
by bblax 13y ago
The authorization cookie has neither the secure flag or http flag set.
i.e. If you could get the client to redirect to http://paste.sh http://paste.sh it would send the full auth cookie in the (now unencrypted) headers. (Man-in-the-middle can then use the cookie.)
Edit: For anyone checking, the cookie is only set upon the first edit.
- dgl 13y agoThanks, I'd meant to set Strict-Transport-Security to solve that, now done.