Skip to content

Commit

Permalink
Trivial path quoting fixes in git-instaweb
Browse files Browse the repository at this point in the history
Bodo Schlecht noticed that Instaweb didn't propely quote all
path instances in the Apache config file it generated.

Acked-by: Eric Wong <normalperson@yhbt.net>

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Sean Estabrooks authored and Junio C Hamano committed Jul 26, 2009
1 parent d1926f6 commit e24c76b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-instaweb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ apache2_conf () {
mkdir -p "$GIT_DIR/gitweb/logs"
bind=
test x"$local" = xtrue && bind='127.0.0.1:'
echo 'text/css css' > $fqgitdir/mime.types
echo 'text/css css' > "$fqgitdir/mime.types"
cat > "$conf" <<EOF
ServerName "git-instaweb"
ServerRoot "$fqgitdir/gitweb"
Expand All @@ -272,7 +272,7 @@ EOF
fi
done
cat >> "$conf" <<EOF
TypesConfig $fqgitdir/mime.types
TypesConfig "$fqgitdir/mime.types"
DirectoryIndex gitweb.cgi
EOF

Expand Down

0 comments on commit e24c76b

Please sign in to comment.