From: short <> Date: Tue, 28 Oct 2003 19:31:00 +0000 (+0000) Subject: Force content-type 'text/plain' for CVS checkouts (needed for .xml files). X-Git-Tag: bp_apache20~125 X-Git-Url: http://git.jankratochvil.net/?p=www.jankratochvil.net.git;a=commitdiff_plain;h=964c62293a296a08929d0acd307d2e8f6f415019 Force content-type 'text/plain' for CVS checkouts (needed for .xml files). --- diff --git a/project/captive/doc/Macros.pm b/project/captive/doc/Macros.pm index a30562e..a7ba65c 100755 --- a/project/captive/doc/Macros.pm +++ b/project/captive/doc/Macros.pm @@ -115,7 +115,7 @@ sub captive_srcfile ($;$) { my($filename,$text)=@_; - a_href 'http://cvs.jankratochvil.net/viewcvs/*checkout*/captive/'.$filename.'?rev=HEAD', + a_href 'http://cvs.jankratochvil.net/viewcvs/*checkout*/captive/'.$filename.'?rev=HEAD&content-type=text/plain', ($text || $filename); }