Set-Cookie Parser
Set-Cookie 파서
Set-Cookie 응답 헤더를 줄별로 붙여넣어 속성, 잠재적 위험, SameSite/Secure 조합이 합리적인지 확인합니다.
Cookie 속성 카드
2개의 Set-Cookie
#1sessionabc123
path/
httponlyflag
secureflag
samesiteLax
명백한 속성 조합 문제를 발견하지 못했습니다
#2preview1
max-age600
samesiteNone
SameSite=None requires Secure in modern browsers.HttpOnly is missing, so JavaScript may read this cookie.Path is omitted, so the browser will derive a default path from the response URL.
JSON 미리보기
[
{
"index": 0,
"raw": "session=abc123; Path=/; HttpOnly; Secure; SameSite=Lax",
"name": "session",
"value": "abc123",
"decodedValue": "abc123",
"attributes": [
{
"key": "path",
"value": "/"
},
{
"key": "httponly",
"value": null
},
{
"key": "secure",
"value": null
},
{
"key": "samesite",
"value": "Lax"
}
],
"attributeMap": {
"path": "/",
"httponly": true,
"secure": true,
"samesite": "Lax"
},
"warnings": []
},
{
"index": 1,
"raw": "preview=1; Max-Age=600; SameSite=None",
"name": "preview",
"value": "1",
"decodedValue": "1",
"attributes": [
{
"key": "max-age",
"value": "600"
},
{
"key": "samesite",
"value": "None"
}
],
"attributeMap": {
"max-age": "600",
"samesite": "None"
},
"warnings": [
"SameSite=None requires Secure in modern browsers.",
"HttpOnly is missing, so JavaScript may read this cookie.",
"Path is omitted, so the browser will derive a default path from the response URL."
]
}
]