Fossil

Check-in [1022c0fc]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment: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:.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:1022c0fc64999dc7b730932b45499d39c519c4bf
User & Date: drh 2015-02-07 17:06:24
Context
2015-02-07
17:55
A couple more link fixes on the download page. check-in: 2a7c0282 user: mistachkin tags: trunk
17:06
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:. check-in: 1022c0fc user: drh tags: trunk
16:59
If file descriptor 2 is not open, try twice to open it. If it still is not open, just continue on, because presumably it won't open on any subquent open() system call. check-in: a3ade265 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to www/mkdownload.tcl.

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
#
set out [open download.html w]
fconfigure $out -encoding utf-8 -translation lf
puts $out \
{<!DOCTYPE html><html>
<head>
<base href="http://www.fossil-scm.org/" />
<title>Fossil: Downloads</title>
<link rel="stylesheet" href="/fossil/style.css" type="text/css"
      media="screen">
</head>
<body>
<div class="header">
  <div class="logo">







|







5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
#
set out [open download.html w]
fconfigure $out -encoding utf-8 -translation lf
puts $out \
{<!DOCTYPE html><html>
<head>
<base href="/" />
<title>Fossil: Downloads</title>
<link rel="stylesheet" href="/fossil/style.css" type="text/css"
      media="screen">
</head>
<body>
<div class="header">
  <div class="logo">