mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-14 07:40:48 +02:00
Fix logic in WebServerRequest::get_path.
This commit is contained in:
parent
6f10e05c32
commit
8787b9cd7f
@ -277,7 +277,7 @@ String WebServerRequest::get_path(const bool beginning_slash, const bool end_sla
|
|||||||
path += '/';
|
path += '/';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!end_slash && path.size() > 1) {
|
if (!end_slash && path.length() > 1) {
|
||||||
path.resize(path.size() - 1);
|
path.resize(path.size() - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user