diff --git a/modules/web/http/web_node.cpp b/modules/web/http/web_node.cpp index c634cc4fb..ecdc11102 100644 --- a/modules/web/http/web_node.cpp +++ b/modules/web/http/web_node.cpp @@ -85,7 +85,7 @@ String WebNode::get_full_uri_parent(const bool slash_at_the_end) { _rw_lock.read_unlock(); if (!slash_at_the_end) { - uri.resize(uri.length() - 1); + uri.set_length(uri.length() - 1); } return uri;