git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 0/2] gitweb: Make $prevent_xss protection for 'blob_plain' more usable
@ 2011-06-30  9:39 Jakub Narebski
  2011-06-30  9:39 ` [PATCH 1/2] gitweb: Serve text/* 'blob_plain' as text/plain with $prevent_xss Jakub Narebski
  2011-06-30  9:39 ` [PATCHv1 2/2] gitweb: Serve */*+xml " Jakub Narebski
  0 siblings, 2 replies; 4+ messages in thread
From: Jakub Narebski @ 2011-06-30  9:39 UTC (permalink / raw)
  To: git; +Cc: Matt McCutchen, Junio C Hamano, Jakub Narebski

This series is improvement and extending of patch with the same name,
containing only the first patch in the series, sent to git mailing
list on 10.06.2011, and present in 'pu' as fb76adb (jn/mime-type-with-params).

This series is to replace it.

The original impulse behind creating this series was the fact that the
summary of previously sent commit was quite cryptic, and didn't really
explain what it was intended to do.  While at it I have added one more
simplification on top of the one proposed by Junio.

The second path in this series is to have gitweb treat the same
'blob_plain' view of both *.xhtml (with application/xhtml+xml
mimetype) and *.html (text/html), when $prevent_xss is on.

Jakub Narebski (2):
  gitweb: Serve text/*  'blob_plain' as text/plain with $prevent_xss
  gitweb: Serve */*+xml 'blob_plain' as text/plain with $prevent_xss

 gitweb/gitweb.perl |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

-- 
1.7.5

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-30 18:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-30  9:39 [PATCHv2 0/2] gitweb: Make $prevent_xss protection for 'blob_plain' more usable Jakub Narebski
2011-06-30  9:39 ` [PATCH 1/2] gitweb: Serve text/* 'blob_plain' as text/plain with $prevent_xss Jakub Narebski
2011-06-30 18:22   ` Junio C Hamano
2011-06-30  9:39 ` [PATCHv1 2/2] gitweb: Serve */*+xml " Jakub Narebski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).