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:.

drh 2015-02-07 17:06 trunk
Commit 1022c0fc64999dc7b730932b45499d39c519c4bf
1 file changed +1 -1
--- www/mkdownload.tcl
+++ www/mkdownload.tcl
@@ -7,11 +7,11 @@
77
set out [open download.html w]
88
fconfigure $out -encoding utf-8 -translation lf
99
puts $out \
1010
{<!DOCTYPE html><html>
1111
<head>
12
-<base href="http://www.fossil-scm.org/" />
12
+<base href="/" />
1313
<title>Fossil: Downloads</title>
1414
<link rel="stylesheet" href="/fossil/style.css" type="text/css"
1515
media="screen">
1616
</head>
1717
<body>
1818
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button