Heads up for the creator: putting everything under ugliest.app allows pages to read the same cookies across different "apps". If anyone plans to use the platform for production (which you appear to welcome), nothing substantial can be done.
I forgot what made github.com switch to github.io. Something similar but totally separate.
There's also the added benefit of being able to list the github.io domain on the Public Suffix List [1], which means that no cookies can be set for the top level domain, only the *.github.io subdomains. This prevents the platform users from accidentally revealing their cookies to every other app under the top level domain.
EDIT: to ellaborate for the interested, the Public Suffix List is used by browser vendors to decide what part of the URL is considered the TLD for display and cookie security purposes (and I imagine others). [1] https://publicsuffix.org/
Comments (155) 53 threads
Show all comments
Showing thread 2 of 53
I forgot what made github.com switch to github.io. Something similar but totally separate.
Same reason: to prevent user-generated/user-hosted content from being able to read GitHub.com cookies.
The fully writeup is here: https://github.blog/2013-04-09-yummy-cookies-across-domains/
Yep, here's the link that explains it all:
https://github.blog/2013-04-09-yummy-cookies-across-domains/
EDIT: to ellaborate for the interested, the Public Suffix List is used by browser vendors to decide what part of the URL is considered the TLD for display and cookie security purposes (and I imagine others).
[1] https://publicsuffix.org/
EDIT: The linked Github article states exactly that, is it out of date?