diff options
Diffstat (limited to '')
-rw-r--r-- | src/HTTP/UrlParser.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/HTTP/UrlParser.h b/src/HTTP/UrlParser.h index 15a63e05d..76018460a 100644 --- a/src/HTTP/UrlParser.h +++ b/src/HTTP/UrlParser.h @@ -51,6 +51,9 @@ public: AString & a_Query, AString & a_Fragment ); + + /** Checks if the supplied URL is valid */ + static std::pair<bool, AString> Validate(const AString & a_Url); }; |