clearByName deletes all cookies with the specified name, even if the cookie's domain does not match the provided url. In fact, the url doesn't seem to be used outside of the initial check that it is valid.
Added a domain match check, based on the behaviour that the requesting domain can set cookies for itself or for a parent domain.
clearByName
deletes all cookies with the specified name, even if the cookie's domain does not match the provided url. In fact, the url doesn't seem to be used outside of the initial check that it is valid.Added a domain match check, based on the behaviour that the requesting domain can set cookies for itself or for a parent domain.