diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/HttpServer.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/HttpServer.cc b/src/HttpServer.cc index 543b468..608b8a8 100644 --- a/src/HttpServer.cc +++ b/src/HttpServer.cc @@ -303,6 +303,8 @@ bool Balau::HttpWorker::handleClient() { uri = httpUnescape(uri.extract(0, variablesPos).to_charp()); readVariables(variables, variablesStr); free(variablesStr); + } else { + uri = httpUnescape(uri.to_charp()); } if (uri.extract(0, 7) == "http://") { |