是否可以在HTTP Set-Cookie请求中放置"path"参数前面的通配符?
例:
Set-Cookie: SSID=foo; Domain=.foo.com; Path=/*/Stuff; Secure; HttpOnly
Run Code Online (Sandbox Code Playgroud)
pal*_*int 41
检查RFC 6265 HTTP状态管理机制,5.1.4.路径和路径匹配:
A request-path path-matches a given cookie-path if at least one of
the following conditions holds:
o The cookie-path and the request-path are identical.
o The cookie-path is a prefix of the request-path, and the last
character of the cookie-path is %x2F ("/").
o The cookie-path is a prefix of the request-path, and the first
character of the request-path that is not included in the cookie-
path is a %x2F ("/") character.
Run Code Online (Sandbox Code Playgroud)
它没有提到任何通配符处理,因此不可能在路径中使用通配符.
| 归档时间: |
|
| 查看次数: |
16473 次 |
| 最近记录: |