Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MediaArea/ZenLib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorPavel Pimenov <pavel.pimenov@gmail.com>2019-02-02 14:56:17 +0300
committerPavel Pimenov <pavel.pimenov@gmail.com>2019-02-02 14:56:17 +0300
commitc2ee1316b7cb2a1e8282cf812bac0d54d6f01461 (patch)
treead658e9283400d74c6e660371fe416456af80f81 /Source
parent42a4dcf1e3fc0bb12f86e1a84a42c977e3a16f70 (diff)
Fix Http_Utils
V560 A part of conditional expression is always false: URL[Pos] == ' ' (URL[Pos]<='\x20')
Diffstat (limited to 'Source')
-rw-r--r--Source/ZenLib/Format/Http/Http_Utils.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/ZenLib/Format/Http/Http_Utils.cpp b/Source/ZenLib/Format/Http/Http_Utils.cpp
index 773dc1c..613b2d8 100644
--- a/Source/ZenLib/Format/Http/Http_Utils.cpp
+++ b/Source/ZenLib/Format/Http/Http_Utils.cpp
@@ -100,7 +100,6 @@ std::string URL_Encoded_Encode (const std::string& URL)
{
if ((URL[Pos]>='\x00' && URL[Pos]<='\x20')
|| URL[Pos]=='\x7F'
- || URL[Pos]==' '
|| URL[Pos]=='<'
|| URL[Pos]=='>'
|| URL[Pos]=='#'
@@ -141,7 +140,6 @@ std::wstring URL_Encoded_Encode (const std::wstring& URL)
{
if (URL[Pos]<=L'\x20'
|| URL[Pos]==L'\x7F'
- || URL[Pos]==L' '
|| URL[Pos]==L'<'
|| URL[Pos]==L'>'
|| URL[Pos]==L'#'