Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CORS headers to list resource #1433

Open
jakearchibald opened this issue Sep 25, 2021 · 7 comments
Open

Add CORS headers to list resource #1433

jakearchibald opened this issue Sep 25, 2021 · 7 comments
Labels
❔❔ question Open question, please look / answer / respond

Comments

@jakearchibald
Copy link

Allow websites to access https://publicsuffix.org/list/public_suffix_list.dat by giving the resource the following header:

Access-Control-Allow-Origin: *
@dnsguru dnsguru added the ❔❔ question Open question, please look / answer / respond label Sep 28, 2021
@dnsguru
Copy link
Member

dnsguru commented Sep 28, 2021

are you suggesting this added to the headers or the file itself?

@jakearchibald
Copy link
Author

Added to the HTTP headers of the resource.

@jakearchibald
Copy link
Author

The weird thing is, the rest of the site seems to have this header, eg https://publicsuffix.org/list/, but the list itself does not.

@jakearchibald
Copy link
Author

Is this fixed? The list appears to have CORS headers now.

@dnsguru
Copy link
Member

dnsguru commented Jan 4, 2023 via email

@jakearchibald
Copy link
Author

But, is this is issue intentionally fixed, or accidentally fixed and may be unfixed?

@simon-friedberger
Copy link
Contributor

simon-friedberger commented Mar 28, 2024

@jakearchibald While I agree with you in principle, is there a particular reason why it would be useful for a website to pull in the PSL?

And to answer the original question, those were added intentionally and for the entire site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❔❔ question Open question, please look / answer / respond
Projects
None yet
Development

No branches or pull requests

3 participants