diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | plugins/cgi/cgi.cpp | 2 |
3 files changed, 9 insertions, 2 deletions
@@ -139,7 +139,7 @@ install: # misc --------------------------------------------------- deb: # build binary deb package - dpkg-buildpackage -us -uc -rfakeroot + dpkg-buildpackage -rfakeroot deb-src: dh_clean @@ -148,6 +148,7 @@ deb-src: $(DISTROS): deb-src sudo pbuilder build --basetgz /var/cache/pbuilder/$@.tgz --buildresult result/$@ ../webserver_$(VERSION).dsc + debsign result/$@/webserver_$(VERSION)_amd64.changes debs: $(DISTROS) diff --git a/debian/changelog b/debian/changelog index 41f2393..7f7ebb9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +webserver (1.5) unstable; urgency=medium + + * Minor fixes + + -- Roland Reichwein <rr@antcom.de> Fri, 08 May 2020 11:39:09 +0200 + webserver (1.4) unstable; urgency=medium * Added redirect plugin diff --git a/plugins/cgi/cgi.cpp b/plugins/cgi/cgi.cpp index 75e401e..0824d67 100644 --- a/plugins/cgi/cgi.cpp +++ b/plugins/cgi/cgi.cpp @@ -56,7 +56,7 @@ namespace { return std::string{}; return path.string().substr(pos); }(); - if(iequals(ext, ".htm")) return "text/html"; // TODO: unordered_map + if(iequals(ext, ".htm")) return "text/html"; if(iequals(ext, ".html")) return "text/html"; if(iequals(ext, ".php")) return "text/html"; if(iequals(ext, ".css")) return "text/css"; |