diff --git a/src/url.cpp b/src/url.cpp index dc33b31..191c9c7 100644 --- a/src/url.cpp +++ b/src/url.cpp @@ -409,6 +409,11 @@ const string URL::unescape_html(const string &html) const string URL::archive() { + if (_url.substr(0, 4) != "http") + { + return ""; + } + try { std::ostringstream oss;