We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fb380f commit d8fdaf5Copy full SHA for d8fdaf5
src/detail/uri_normalize.cpp
@@ -10,6 +10,7 @@
10
#ifdef NETWORK_URI_EXTERNAL_BOOST
11
#include <boost/algorithm/string/split.hpp>
12
#include <boost/algorithm/string/join.hpp>
13
+namespace network_boost = boost;
14
#else // NETWORK_URI_EXTERNAL_BOOST
15
#include "../boost/algorithm/string/split.hpp"
16
#include "../boost/algorithm/string/join.hpp"
@@ -50,7 +51,7 @@ std::string normalize_path_segments(string_view path) {
50
51
for (const auto &segment : normalized_segments) {
52
result += "/" + segment;
53
}
-
54
+
55
if (last_segment_is_slash) {
56
result += "/";
57
0 commit comments