X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fshowimagepage.h;h=4492242bab80eeda2cb368933224d29597949e8f;hb=9ae3b1434e51788e6feb72e1415ec800d05c535a;hp=15aa3042953c6bc7c6156eb780b8e4380bd5d4b1;hpb=ed0732b2550c23c05fc9faf925620e87ee6dee12;p=fms.git diff --git a/include/http/pages/showimagepage.h b/include/http/pages/showimagepage.h index 15aa304..4492242 100644 --- a/include/http/pages/showimagepage.h +++ b/include/http/pages/showimagepage.h @@ -3,10 +3,13 @@ #include "../ipagehandler.h" +#include +#include + class ShowImagePage:public IPageHandler { public: - ShowImagePage(SQLite3DB::DB *db):IPageHandler(m_db) {} + ShowImagePage(SQLite3DB::DB *db); void handleRequest(Poco::Net::HTTPServerRequest &request, Poco::Net::HTTPServerResponse &response); @@ -17,6 +20,7 @@ private: const std::string GeneratePage(const std::string &method, const std::map &queryvars) {return "";} static std::map > m_imagecache; + static std::set m_imagewhitelist; };