Fossil SCM

Fix a bug in the mime-type decoder for the /doc method.

drh 2008-09-23 20:53 trunk
Commit fa1c7d598f21ac665bd739bb7fd88df02a67ece0
1 file changed +1 -1
+1 -1
--- src/doc.c
+++ src/doc.c
@@ -97,12 +97,12 @@
9797
{ "gz", 2, "application/x-gzip" },
9898
{ "hdf", 3, "application/x-hdf" },
9999
{ "hh", 2, "text/plain" },
100100
{ "hqx", 3, "application/mac-binhex40" },
101101
{ "h", 1, "text/plain" },
102
- { "html", 4, "text/html" },
103102
{ "htm", 3, "text/html" },
103
+ { "html", 4, "text/html" },
104104
{ "ice", 3, "x-conference/x-cooltalk" },
105105
{ "ief", 3, "image/ief" },
106106
{ "iges", 4, "model/iges" },
107107
{ "igs", 3, "model/iges" },
108108
{ "ips", 3, "application/x-ipscript" },
109109
--- src/doc.c
+++ src/doc.c
@@ -97,12 +97,12 @@
97 { "gz", 2, "application/x-gzip" },
98 { "hdf", 3, "application/x-hdf" },
99 { "hh", 2, "text/plain" },
100 { "hqx", 3, "application/mac-binhex40" },
101 { "h", 1, "text/plain" },
102 { "html", 4, "text/html" },
103 { "htm", 3, "text/html" },
 
104 { "ice", 3, "x-conference/x-cooltalk" },
105 { "ief", 3, "image/ief" },
106 { "iges", 4, "model/iges" },
107 { "igs", 3, "model/iges" },
108 { "ips", 3, "application/x-ipscript" },
109
--- src/doc.c
+++ src/doc.c
@@ -97,12 +97,12 @@
97 { "gz", 2, "application/x-gzip" },
98 { "hdf", 3, "application/x-hdf" },
99 { "hh", 2, "text/plain" },
100 { "hqx", 3, "application/mac-binhex40" },
101 { "h", 1, "text/plain" },
 
102 { "htm", 3, "text/html" },
103 { "html", 4, "text/html" },
104 { "ice", 3, "x-conference/x-cooltalk" },
105 { "ief", 3, "image/ief" },
106 { "iges", 4, "model/iges" },
107 { "igs", 3, "model/iges" },
108 { "ips", 3, "application/x-ipscript" },
109

Keyboard Shortcuts

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