79556329

Date: 2025-04-04 22:35:49
Score: 1
Natty:
Report link

I know you only asked about the domain but I landed here with the same question in the context of the same-origin policy. The port is included in the same-origin policy.

"...the same-origin policy performs string matching on the protocol, domain, and port. Two websites have the same origin if their protocols, domains, and ports all exactly match."

http://example.com/ != http://example.com:8080/

Sources:
CS161 Textbook
RFC6454-section-3.2.1

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Rooster242