Browse Source

Trivial path quoting fixes in git-instaweb

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>
maint
Sean Estabrooks 16 years ago committed by Junio C Hamano
parent
commit
e24c76bf09
  1. 4
      git-instaweb.sh

4
git-instaweb.sh

@ -256,7 +256,7 @@ apache2_conf () { @@ -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"
@ -272,7 +272,7 @@ EOF @@ -272,7 +272,7 @@ EOF
fi
done
cat >> "$conf" <<EOF
TypesConfig $fqgitdir/mime.types
TypesConfig "$fqgitdir/mime.types"
DirectoryIndex gitweb.cgi
EOF


Loading…
Cancel
Save