again some chars where missing

master
Steffen Pohle 1 week ago
parent 8bc424f512
commit e9dee1ac57

@ -1,3 +1,6 @@
2026-02-06:
- fixed: character '=' was ignored in the request
2026-01-06: Version: 0.3 2026-01-06: Version: 0.3
- Added a simple WebServer functionality. - Added a simple WebServer functionality.

@ -181,7 +181,7 @@ std::string WebRequestBuffer::GetRequest() {
c = request[i]; c = request[i];
if (((c >= '0' && c <= '9') || (c >= 'a' && c <= 'z') || if (((c >= '0' && c <= '9') || (c >= 'a' && c <= 'z') ||
(c >= 'A' && c <= 'Z') || c == '/' || c == '.' || c == '-' || (c >= 'A' && c <= 'Z') || c == '/' || c == '.' || c == '-' ||
c == '?' || c == '%') && c == '?' || c == '%' || c == '=' || c == '_') &&
(!((c == '.' || c == '/' ) && (lastc == '/' || lastc == '.')))) { (!((c == '.' || c == '/' ) && (lastc == '/' || lastc == '.')))) {
rq += c; rq += c;
lastc = c; lastc = c;

Loading…
Cancel
Save