US-ASCII & cookie-name cookie-value All In One
US-ASCII & cookie-name
cookie-value
All In One
ASCII
cookies
A
<cookie-name>
can contain anyUS-ASCII
charactersexcept
for:
control
characters (ASCII characters 0 up to 31 and ASCII character 127)separator
characters (space
,tab
and the characters:( ) < > @ , ; : \ " / [ ] ? = { }
)
A
<cookie-value>
can optionally be wrapped indouble quotes
and include anyUS-ASCII
characterexcluding
control
characters (ASCII characters 0 up to 31 and ASCII character 127)Whitespace
,double quotes
,commas
,semicolons
, andbackslashes
.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#cookie-namecookie-value
ASCII for cookies
ASCII: 0 ~ 31 + 127
Tab
❓
9 \t Horizontal Tab
11 \v Vertical Tab
13 \r Carriage Return
https://en.wikipedia.org/wiki/ASCII#Control_code_chart ❌
32 ~ 126
排除掉
32 space
34 "
40 (
41 )
44 ,
47 /
58 :
59 ;
60 <
61 =
62 >
63 ?
64 @
91 [
92 \
93 ]
123 {
125 }
https://en.wikipedia.org/wiki/ASCII#Printable_characters ✅
demos
(🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!
ASCII
啊死K
https://developer.mozilla.org/en-US/docs/Glossary/ASCII
https://en.wikipedia.org/wiki/ASCII
refs
https://www.cnblogs.com/xgqfrms/p/9993892.html#5217008
https://gist.github.com/xgqfrms/e2a4a9b1a8bfe88594e221277031b846
©xgqfrms 2012-2021
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/17750564.html
未经授权禁止转载,违者必究!