Skip to content

Draft: curl: do not reject the cookie with empty domain

Suvendhu Hansa requested to merge rfc_6265 into devel
  • RFC-6265 states below points on domain:

    • point 5.2.3: if the attribute-name case-insensitively matches the string "Domain", the user agent MUST process the cookie-av as follows. If the attribute-value is empty, the behavior is undefined. However, the user agent SHOULD ignore the cookie-av entirely.

    • point 5.3.6: If the domain-attribute is empty Set the cookie's host-only-flag to true. Set the cookie's domain to the canonicalized request-host.

    However in CDRouter test package iopsyswrt_tr069_tr69_rfc6265 in test case tr69_cookie_2, it expects the EUT should reject the cookie which has empty domain value. This patch is to meet the criteria of CDRouter test.

Edited by Suvendhu Hansa

Merge request reports