From: Zoran Zaric Date: Wed, 14 Jul 2010 08:02:37 +0000 (+0200) Subject: All HTML attribute values should be enclosed by doublequotes. X-Git-Tag: bup-0.16~20 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=bf3d2be2dd19be77c3dc6a9f1b4f9db3c0a54ba2;p=bup.git All HTML attribute values should be enclosed by doublequotes. Signed-off-by: Zoran Zaric --- diff --git a/cmd/web-cmd.py b/cmd/web-cmd.py index 6bd93e0..f853e7c 100755 --- a/cmd/web-cmd.py +++ b/cmd/web-cmd.py @@ -78,8 +78,8 @@ class BupRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):

Directory listing for %(displaypath)s

- - + """ % { 'displaypath': displaypath }) for sub in n: @@ -95,8 +95,8 @@ class BupRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler): # Note: a link to a directory displays with @ and links with / size = ' ' f.write(""" - - + + """ % (urllib.quote(linkname), cgi.escape(displayname), size)) f.write("""
NameSize + NameSize
%s%s%s%s