ministryofjustice / intranet

Intranet used by the Ministry of Justice and agencies
MIT License
7 stars 1 forks source link

Fix a bug in CloudFront signing and in fmp-status script. #741

Closed EarthlingDavey closed 3 weeks ago

EarthlingDavey commented 3 weeks ago

For the status script, remove html from the query string, so that the output is in table layout.

For CloudFront, correctly decode the Policy cookie, from base64.

Prior to this fix, remainingTimeFromCookie was always returning 0, and issuing CF cookies on every request 🤦‍♂️