[Git][NTPsec/ntpsec][master] Deleted 1 commit: html does not like naked colon in URLs.

Gary E. Miller gitlab at mg.gitlab.com
Thu Aug 18 21:58:50 UTC 2016


Gary E. Miller pushed to branch master at NTPsec / ntpsec


WARNING: The push did not contain any new commits, but force pushed to delete the commits and changes below.


Deleted commits:
6f563d47 by Gary E. Miller at 2016-08-18T14:57:54-07:00
html does not like naked colon in URLs.

replace colon with %3a

- - - - -


1 changed file:

- ntpstats/ntpviz


Changes:

=====================================
ntpstats/ntpviz
=====================================
--- a/ntpstats/ntpviz
+++ b/ntpstats/ntpviz
@@ -470,7 +470,9 @@ ntpviz</a>, part of the <a href="https://www.ntpsec.org/">NTPsec project</a>
                         pass
                 # now the graphs
                 for (imagename, _) in imagepairs:
-                    ifile.write("<div><img src='%s.png' alt='%s plot'></div>\n" % (imagename, imagename.replace('-', ' ')))
+                    ifile.write("<div><img src='%s.png' alt='%s plot'></div>\n" \
+                        % (imagename.replace(':', '%3A'), \
+                         imagename.replace('-', ' ')))
                 # if footer file, add it to index.html
                 footer = os.path.join(outdir, "footer")
                 if os.path.isfile(footer):



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/6f563d472cf97da8703c5a757c8f9d5f60783be0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160818/39a75506/attachment.html>


More information about the vc mailing list