Readthedocs.org: should readthedocs.io be on the public suffix list?

Created on 2 Jun 2016  路  6Comments  路  Source: readthedocs/readthedocs.org

I see that the hosted documentation for projects is now under readthedocs.io instead of readthedocs.org. presumably this is for domain separation, so that bad project documentation can't use same-origin policy to mess around with the readthedocs domain itself.

however, there is still a possibility of cross-project contamination, since foo.readthedocs.io is considered same-origin as bar.readthedocs.io by most browsers.

One way to avoid this cross-project contamination would be to submit readthedocs.io to the public suffix list via a pull-request over at https://github.com/publicsuffix/list. You'll note that https://github.com/publicsuffix/list/blob/master/public_suffix_list.dat contains github.io and githubusercontent.com, presumably for the same reason.

I'm happy to open this PR myself if you want me to, but i wanted to verify that this is something that the readthedocs folks actually want to happen.

Improvement

Most helpful comment

thanks, @davidfischer -- hopefully they'll merge it soon.

thanks also for hosting readthedocs -- it's hard enough to convince software authors to write documentation, so i appreciate that you've removed one of the excuses some people use :)

All 6 comments

I realize it is two years later but this sounds like a good idea to me. I don't know if you're still around to do this but I'd appreciate if you did open that PR. If not, I'll go ahead and do it in a week or two.

@davidfischer I checked and there isn't a PR for rtd yet, so feel free to do it :)

I've made https://github.com/publicsuffix/list/pull/722 . In order for this to follow through, someone with access to the DNS zone needs to create the following TXT record, as documented in the PSL Guidelines:

$ dig TXT _psl.readthedocs.io
https://github.com/publicsuffix/list/pull/722

The TXT record is setup.

thanks, @davidfischer -- hopefully they'll merge it soon.

thanks also for hosting readthedocs -- it's hard enough to convince software authors to write documentation, so i appreciate that you've removed one of the excuses some people use :)

The PR was already merged https://github.com/publicsuffix/list/pull/722, closing.

thanks @dkg!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JiaweiZhuang picture JiaweiZhuang  路  3Comments

adamjstewart picture adamjstewart  路  4Comments

humitos picture humitos  路  3Comments

boscorelly picture boscorelly  路  4Comments

gtalarico picture gtalarico  路  4Comments