Fossil SCM
Fix a bug in the mime-type decoder for the /doc method.
Commit
fa1c7d598f21ac665bd739bb7fd88df02a67ece0
Parent
d2ae873e9e341d1…
1 file changed
+1
-1
+1
-1
| --- src/doc.c | ||
| +++ src/doc.c | ||
| @@ -97,12 +97,12 @@ | ||
| 97 | 97 | { "gz", 2, "application/x-gzip" }, |
| 98 | 98 | { "hdf", 3, "application/x-hdf" }, |
| 99 | 99 | { "hh", 2, "text/plain" }, |
| 100 | 100 | { "hqx", 3, "application/mac-binhex40" }, |
| 101 | 101 | { "h", 1, "text/plain" }, |
| 102 | - { "html", 4, "text/html" }, | |
| 103 | 102 | { "htm", 3, "text/html" }, |
| 103 | + { "html", 4, "text/html" }, | |
| 104 | 104 | { "ice", 3, "x-conference/x-cooltalk" }, |
| 105 | 105 | { "ief", 3, "image/ief" }, |
| 106 | 106 | { "iges", 4, "model/iges" }, |
| 107 | 107 | { "igs", 3, "model/iges" }, |
| 108 | 108 | { "ips", 3, "application/x-ipscript" }, |
| 109 | 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 | { "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 |