From 80c0cc445e4c555e93758423c34e2b1df9d33bd2 Mon Sep 17 00:00:00 2001 From: yhirose Date: Fri, 2 Feb 2024 23:29:30 -0500 Subject: [PATCH] Release v0.15.2 --- httplib.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/httplib.h b/httplib.h index 4f61165f91..57b8898f61 100644 --- a/httplib.h +++ b/httplib.h @@ -8,7 +8,7 @@ #ifndef CPPHTTPLIB_HTTPLIB_H #define CPPHTTPLIB_HTTPLIB_H -#define CPPHTTPLIB_VERSION "0.15.1" +#define CPPHTTPLIB_VERSION "0.15.2" /* * Configuration @@ -2417,8 +2417,11 @@ inline bool is_valid_path(const std::string &path) { // Read component auto beg = i; while (i < path.size() && path[i] != '/') { - if (path[i] == '\0') { return false; } - else if (path[i] == '\\') { return false; } + if (path[i] == '\0') { + return false; + } else if (path[i] == '\\') { + return false; + } i++; }