From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Fri, 15 Jan 2016 12:34:35 +0100 Subject: XSS in cgit In-Reply-To: <20160113191100.GA1660@dcvr.yhbt.net> References: <20160113191100.GA1660@dcvr.yhbt.net> Message-ID: On Jan 13, 2016 9:11 PM, "Eric Wong" wrote: > > "Jason A. Donenfeld" wrote: > > Given all this, could somebody remind me why we have both /plain and > > /blob handlers? And if it's still necessary to maintain a distinction? > > If not, I will gladly accept patches to unify these. > > IIRC, the main difference was blob allows serving tree objects > as-is in binary form while plain generates an HTML directory listing. Thanks, this is what I thought, which leads me to the more relevant question: Given that the /blob handler returns binary directory data, it must conform to a particular API in order to be useful. Was the recently removed /blob/?mimetype= query string parameter part of such an API? Have we maimed something useful? -------------- next part -------------- An HTML attachment was scrubbed... URL: