summaryrefslogtreecommitdiff
path: root/www/gps_report.cgi.in
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-04-28 12:50:25 -0700
committerGary E. Miller <gem@rellim.com>2015-04-28 12:50:25 -0700
commit90dd3d58965b13816541d59622d583dc45c3d166 (patch)
tree03b252c7113820327bea1c30259fed346b1ec1f3 /www/gps_report.cgi.in
parent7e28242fcc5e578de6f5db10d95814c3f20a2bc0 (diff)
downloadgpsd-90dd3d58965b13816541d59622d583dc45c3d166.tar.gz
Escape %% broken in my 3e6f9bea2b343e485a066db1483bd8037eeb04f7
My ignorance of Python shows. Now I now % is a special char in strings...
Diffstat (limited to 'www/gps_report.cgi.in')
-rw-r--r--www/gps_report.cgi.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/gps_report.cgi.in b/www/gps_report.cgi.in
index d0c3d45f..9fd8a740 100644
--- a/www/gps_report.cgi.in
+++ b/www/gps_report.cgi.in
@@ -543,7 +543,7 @@ if hasRequiredElements(form):
developers. Eventually, your report is likely to appear on our <a
href="%(website)s/hardware.html">Hardware</a> page.</p>
-<table style="width:100%;border:0">
+<table style="width:100%%;border:0">
<tr>
<td style="text-align:center">
<a href="%(request_uri)s">Reset Form</a>
@@ -557,7 +557,7 @@ else:
print '''
<p style="color:#ff0000;">Required fields are missing; please fill them in.</p>
-<table style="width:100%;border:0">
+<table style="width:100%%;border:0">
<tr>
<td style="text-align:center">
<a href="%(request_uri)s">Reset Form</a>