PARAM-VALUE 可以包含空格吗?
正在阅读 syslog rfc
6.3.3. SD-PARAM
Each SD-PARAM consists of a name, referred to as PARAM-NAME, and a
value, referred to as PARAM-VALUE.
param-value 可以包含空格吗?或者它必须是一个单词名称?
Reading syslog rfc
6.3.3. SD-PARAM
Each SD-PARAM consists of a name, referred to as PARAM-NAME, and a
value, referred to as PARAM-VALUE.
Can param-value contain spaces? or it has to be a one-word name?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
阅读该部分的其余部分:
空格字符当然可以是“有效的 UTF-8 序列”的一部分。第二段引用的段落提到了三个必须转义的字符;空格字符不是其中之一。
结论:
PARAM-VALUE
字段可以包含空格。Reading the rest of that section:
A space character can certainly be part of a "valid UTF-8 sequence". The second quoted paragraph mentions three characters that must be escaped; the space character isn't one of them.
Conclusion: the
PARAM-VALUE
field can contain blanks.