Use Gitlab::Json to serialize sessions
This changes session serialization, shifting from the use of Marshal (which has security implications) to the safer use of JSON. In order to support existing active sessions in the old format, we lookup sessions by both the old and new keys, and fallback to the old parsing if the stored value is not JSON. Changelog: security
Showing
This diff is collapsed.
Please register or sign in to comment