stephb9959
2023-01-25 16:27:53 -08:00
parent bfdec30974
commit 43fc8f7f09
13 changed files with 91 additions and 21 deletions

View File

@@ -9,7 +9,7 @@
namespace OpenWifi {
void
RESTAPI_historyHandler::DoGet() {
auto SerialNumber = GetBinding(RESTAPI::Protocol::SERIALNUMBER, "");
auto SerialNumber = ORM::Escape(GetBinding(RESTAPI::Protocol::SERIALNUMBER, ""));
if(SerialNumber.empty()) {
return BadRequest(RESTAPI::Errors::MissingSerialNumber);