News for hackers. Stuff that matters.
Re:Langsec explained in a few slogans by jolux on Friday November 27, 2015 @12:51PM (#10638172)
HTTP clients and servers should absolutely not emit broken headers, but that's a violation of the robustness principle of itself.

The way I think about it is imagining how many websites I use daily just wouldn't work if HTML parsing were completely strict. I regularly open up Dev Tools to see which of the websites I visit work without CSS or HTML parsing errors.

My primary concern is that there needs to be a way to implement strict parsing that doesn't greatly raise the barrier to entry or make the product unusable. I do think a lot about this but it's nonetheless confounding from both perspectives and I think the usability of strict parsers needs to be addressed, whether that means better error messages or really good linting or whatever.

There are no comments on this comment yet.