X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fhttp%2Fpages%2Fboardspage.cpp;h=af3baad0f5c5194a12c95a70b4098b92c5732603;hb=befd91205eff729a182f66de15374a577a8718f7;hp=f143d324eb4788f10169c51b85032bdc10f646ec;hpb=4430e7762844c66428b6f822288beb71b7f82b95;p=fms.git diff --git a/src/http/pages/boardspage.cpp b/src/http/pages/boardspage.cpp index f143d32..af3baad 100644 --- a/src/http/pages/boardspage.cpp +++ b/src/http/pages/boardspage.cpp @@ -52,6 +52,7 @@ const std::string BoardsPage::GeneratePage(const std::string &method, const std: std::string boarddescription=""; boardname=(*queryvars.find("boardname")).second; + StringFunctions::LowerCase(boardname,boardname); boarddescription=(*queryvars.find("boarddescription")).second; SQLite3DB::Statement addst=m_db->Prepare("INSERT INTO tblBoard(BoardName,BoardDescription,DateAdded) VALUES(?,?,?);"); @@ -172,7 +173,7 @@ const std::string BoardsPage::GeneratePage(const std::string &method, const std: content+=""; content+=""; - content+="
"; + content+="
"; content+=""; content+="
"; @@ -198,7 +199,7 @@ const std::string BoardsPage::GeneratePage(const std::string &method, const std: content+=""+SanitizeOutput(boardname)+""; content+=""; content+=""; - content+=""; + content+=""; content+=""; content+=""; content+="