We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 762024b commit 80c0cc4Copy full SHA for 80c0cc4
httplib.h
@@ -8,7 +8,7 @@
8
#ifndef CPPHTTPLIB_HTTPLIB_H
9
#define CPPHTTPLIB_HTTPLIB_H
10
11
-#define CPPHTTPLIB_VERSION "0.15.1"
+#define CPPHTTPLIB_VERSION "0.15.2"
12
13
/*
14
* Configuration
@@ -2417,8 +2417,11 @@ inline bool is_valid_path(const std::string &path) {
2417
// Read component
2418
auto beg = i;
2419
while (i < path.size() && path[i] != '/') {
2420
- if (path[i] == '\0') { return false; }
2421
- else if (path[i] == '\\') { return false; }
+ if (path[i] == '\0') {
+ return false;
2422
+ } else if (path[i] == '\\') {
2423
2424
+ }
2425
i++;
2426
}
2427
0 commit comments