码迷,mamicode.com
首页 > 其他好文 > 详细

The Path Attribute

时间:2017-01-06 18:31:09      阅读:190      评论:0      收藏:0      [点我收藏+]

标签:limit   for   dir   tool   with   value   direct   host   mit   

https://tools.ietf.org/html/rfc6265#section-5.1.1

4.1.2.4. The Path Attribute


   The scope of each cookie is limited to a set of paths, controlled by
   the Path attribute.  If the server omits the Path attribute, the user
   agent will use the "directory" of the request-uri‘s path component as
   the default value.  (See Section 5.1.4 for more details.)

   The user agent will include the cookie in an HTTP request only if the
   path portion of the request-uri matches (or is a subdirectory of) the
   cookie‘s Path attribute, where the %x2F ("/") character is
   interpreted as a directory separator.

   Although seemingly useful for isolating cookies between different
   paths within a given host, the Path attribute cannot be relied upon
   for security (see Section 8).

The Path Attribute

标签:limit   for   dir   tool   with   value   direct   host   mit   

原文地址:http://www.cnblogs.com/yuanjiangw/p/6256839.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!