Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数据存储中的hostOnly和httpOnly在使用时是否需要取反 #64

Open
PikuZheng opened this issue Apr 10, 2024 · 0 comments
Open

Comments

@PikuZheng
Copy link

根据 Netscape cookie file 定义和 curl dev 的说明,

  1. boolean FALSE - include subdomains
  2. boolean TRUE - send/receive over HTTPS only
    对应存储的变量名 'hostOnly' 'httpOnly'

在自然语义中,hostOnly=TRUE 时 include subdomains 应为 FALSE,httpOnly=TRUE 时 HTTPS only 应为 FALSE。
所以在实际使用中,解密后是否应将这两个值取反?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant