diff options
Diffstat (limited to '')
-rw-r--r-- | src/HTTP/UrlParser.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/HTTP/UrlParser.cpp b/src/HTTP/UrlParser.cpp index 85b1cd216..f89aaad45 100644 --- a/src/HTTP/UrlParser.cpp +++ b/src/HTTP/UrlParser.cpp @@ -4,6 +4,7 @@ // Implements the cUrlParser class that parses string URL into individual parts #include "Globals.h" + #include "UrlParser.h" @@ -198,3 +199,13 @@ std::pair<bool, AString> cUrlParser::Parse( +std::pair<bool, AString> cUrlParser::Validate(const AString & a_Url) +{ + AString UrlScheme, UrlUsername, UrlPassword, UrlHost, UrlPath, UrlQuery, UrlFragment; + UInt16 Port; + return Parse(a_Url, UrlScheme, UrlUsername, UrlPassword, UrlHost, Port, UrlPath, UrlQuery, UrlFragment); +} + + + + |