aidantwoods / aidantwoods/SecureHeaders
Auto protected session cookie
Offen
enhancement
feature request
- Vorherrschende Sprache
- PHP
- Sterne
- 433
- Forks
- 21
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Atm the lib uses a hardcoded list of possible cookie names/substring.
https://github.com/aidantwoods/SecureHeaders/blob/f60c3b752114036fbf621a813ead3c3dc7b4c34a/src/SecureHeaders.php#L77
Wouldnt it make sense to detect whether sessions are handled via cookies and if so add the session cookies name to the protectedCookies list?
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.