4 ms·
this looks like a bug? [0] || domain.endsWith("hulu.com"); should be ".hulu.com", since anyone can register a <*>hulu.com [0] https://github.com/WebKit/W
by zild3d 5y ago
this looks like a bug? [0]
|| domain.endsWith("hulu.com");
should be ".hulu.com", since anyone can register a <*>hulu.com
[0] https://github.com/WebKit/WebKit/blob/ce237483d034e41eff8cc51d7f920f43659f3a76/Source/WebCore/page/Quirks.cpp#L189 https://github.com/WebKit/WebKit/blob/ce237483d034e41eff8cc5...
- CSSer 5y agoThat is odd. Yet a strict check against “hulu.com” is also included, and YouTube is checked for “.youtube.com” and “youtube.com”. Perhaps this fix was to prevent malicious behavior, so they included anyone who might be phishing or abusing the API in some way? I think someone would have to dig into the quirk itself to find out more.
- chrismorgan 5y agohttps://news.ycombinator.com/item?id=26166497 https://news.ycombinator.com/item?id=26166497
- dleslie 5y agoWhoever owns cthulu.com may be wondering why browsers behave weirdly only on their production servers.
- cookiengineer 5y agoNote that this is very likely due to everchanging CDN domain names. If they spawn servers on demand, they're probably as messed up as googlevideo.com (which also uses hashed subdomain names).