diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-11-23 16:02:13 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-11-23 16:02:13 +0100 |
commit | 8f1deb5f53f606ac60563175c988b676627e31ce (patch) | |
tree | 3b1b51244131f5af15ef1f98907f1c369ff3ad0e | |
parent | 7597763d5becf151e5b0629206f24d789f5615c3 (diff) | |
download | git-8f1deb5f53f606ac60563175c988b676627e31ce.tar.gz git-8f1deb5f53f606ac60563175c988b676627e31ce.tar.xz |
set logo output to raw mode
-rwxr-xr-x | gitweb.cgi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gitweb.cgi b/gitweb.cgi index dc4435c09..aaf79ccd2 100755 --- a/gitweb.cgi +++ b/gitweb.cgi @@ -719,6 +719,7 @@ sub date_str { # git-logo (cached in browser for one day) sub git_logo { + binmode STDOUT, ':raw'; print $cgi->header(-type => 'image/png', -expires => '+1d'); # cat git-logo.png | hexdump -e '16/1 " %02x" "\n"' | sed 's/ /\\x/g' print "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52" . |