From a034cfca98d4408b175938740628a54f57eb7614 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Tue, 22 Nov 2022 08:54:34 -0500 Subject: add upstream 11.28 --- zen/http.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zen/http.h') diff --git a/zen/http.h b/zen/http.h index ebbb8bd8..1943b129 100644 --- a/zen/http.h +++ b/zen/http.h @@ -50,11 +50,11 @@ HttpInputStream sendHttpPost(const Zstring& url, bool internetIsAlive(); //noexcept std::wstring formatHttpError(int httpStatus); -bool isValidEmail(const std::string& email); +bool isValidEmail(const std::string_view& email); std::string htmlSpecialChars(const std::string_view& str); std::string xWwwFormUrlEncode(const std::vector>& paramPairs); -std::vector> xWwwFormUrlDecode(const std::string& str); +std::vector> xWwwFormUrlDecode(const std::string_view str); } #endif //HTTP_H_879083425703425702 -- cgit