• Matthew Phillips's avatar
    Further correction for domain matching · 5d84b765
    Matthew Phillips authored
    The old-style cookie support stores the cookie domains with a leading full
    stop (e.g. .riscosopen.org) but if a cookie was created with HTTP_AddCookie
    you could get round this restriction.  A cookie with domain riscosop.org
    created that way would have matched the host domain www.riscosopen.org.
    
    This change fixes that. This code will need to be revisited to implement
    RFC 6265 because of host-only matching and stripping the leading full stops,
    but for the moment this removes a domain-matching bug in the old-style cookie
    support.
    
    Version 1.08. Tagged as 'HTTP-1_08'
    5d84b765
VersionNum 672 Bytes