News for hackers. Stuff that matters.
Re:Exploit vendor drops Tor Browser zero-day on Twitter by jermaustin1 on Tuesday September 11, 2018 @08:57AM (#17959281)
Is it ever valid/legal to accept multiple content-types like this? Or is this a regression bug that was introduced?
Re:Exploit vendor drops Tor Browser zero-day on Twitter by deathanatos on Tuesday September 11, 2018 @03:13PM (#17962412)
This isn't even "multiple content-types", the value is just malformed. The ";" would normally introduce parameters to the content-type, such as in "text/plain; charset=utf-8". Here, "/json" is just garbage.

It isn't allowed to have multiple content-types. (And it would make no sense.)

Re:Exploit vendor drops Tor Browser zero-day on Twitter by jermaustin1 on Wednesday September 12, 2018 @11:23AM (#17969681)
My thought was for a "mixed media" like multi-part form data. Maybe the response would be text/plain; text/json (or shortened because the first one is text/plain to just /json).

I will do mental gymnastics to try and figure out if something was meant to be a certain way or not.