Aneesh Kumar K.V wrote:
+ print $cgi->header(-type=>'application/x-tar', -Content-Encoding=>'x-gzip',
+ '-content-disposition' => "inline; filename=\"$project.tar.gz\"",
+ -status=> '200 OK');
Wouldn't it be better to put $hash somewhere in the name?
And please remember that $project can contain slashes, so it should be processed
(only basename of $project, perhaps).
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git