Fossil SCM
Fix the <base> tag in the Download page so that it omits the URL scheme. This permits the download page to work with both HTTP: and with HTTPS:.
Commit
1022c0fc64999dc7b730932b45499d39c519c4bf
Parent
a3ade265680a848…
1 file changed
+1
-1
+1
-1
| --- www/mkdownload.tcl | ||
| +++ www/mkdownload.tcl | ||
| @@ -7,11 +7,11 @@ | ||
| 7 | 7 | set out [open download.html w] |
| 8 | 8 | fconfigure $out -encoding utf-8 -translation lf |
| 9 | 9 | puts $out \ |
| 10 | 10 | {<!DOCTYPE html><html> |
| 11 | 11 | <head> |
| 12 | -<base href="http://www.fossil-scm.org/" /> | |
| 12 | +<base href="/" /> | |
| 13 | 13 | <title>Fossil: Downloads</title> |
| 14 | 14 | <link rel="stylesheet" href="/fossil/style.css" type="text/css" |
| 15 | 15 | media="screen"> |
| 16 | 16 | </head> |
| 17 | 17 | <body> |
| 18 | 18 |
| --- www/mkdownload.tcl | |
| +++ www/mkdownload.tcl | |
| @@ -7,11 +7,11 @@ | |
| 7 | set out [open download.html w] |
| 8 | fconfigure $out -encoding utf-8 -translation lf |
| 9 | puts $out \ |
| 10 | {<!DOCTYPE html><html> |
| 11 | <head> |
| 12 | <base href="http://www.fossil-scm.org/" /> |
| 13 | <title>Fossil: Downloads</title> |
| 14 | <link rel="stylesheet" href="/fossil/style.css" type="text/css" |
| 15 | media="screen"> |
| 16 | </head> |
| 17 | <body> |
| 18 |
| --- www/mkdownload.tcl | |
| +++ www/mkdownload.tcl | |
| @@ -7,11 +7,11 @@ | |
| 7 | set out [open download.html w] |
| 8 | fconfigure $out -encoding utf-8 -translation lf |
| 9 | puts $out \ |
| 10 | {<!DOCTYPE html><html> |
| 11 | <head> |
| 12 | <base href="/" /> |
| 13 | <title>Fossil: Downloads</title> |
| 14 | <link rel="stylesheet" href="/fossil/style.css" type="text/css" |
| 15 | media="screen"> |
| 16 | </head> |
| 17 | <body> |
| 18 |