You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should a raw IP address be allowed to set an include_subdomains endpoint group configuration? Numeric IP addresses don't really have "subdomains", so it's unclear what the semantics of that would be. How should such Report-To headers be handled? Should we reject the endpoint group, or just ignore the include_subdomains flag?
The text was updated successfully, but these errors were encountered:
I think the right behavior is to ignore the include_subdomains flag — as you say, there isn't a domain in the origin to get the subdomains of! Raw IP requests would tend to be problematic in other ways, though — Reporting is only activated for validated HTTPS connections, so the server would have to be using a certificate that uses that raw IP address as the common name, if I'm reading all of the specs correctly. Which should be pretty rare. But still worth calling out what to do in this situation!
This is related to #156. By fixing that algorithm to work on origins, instead of domains, we'll have a chance to explicitly clarify what should happen for raw IP address requests.
Clean up subdomain match logic
Subdomain matching applies to domain names, but we were applying the
logic to origins. Not all origins have domain names! This cleans up
the text to make it more precise. A nice side effect is that it's now
more well-defined what should happen e.g. to `include_subdomains`
policies for requests to a raw IP address.
(This was originally PR #163 by @dcreager)
Closes: #156#160
Should a raw IP address be allowed to set an include_subdomains endpoint group configuration? Numeric IP addresses don't really have "subdomains", so it's unclear what the semantics of that would be. How should such Report-To headers be handled? Should we reject the endpoint group, or just ignore the include_subdomains flag?
The text was updated successfully, but these errors were encountered: