diff options
author | albert-github <albert.tests@gmail.com> | 2020-12-11 14:15:32 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2020-12-11 14:15:32 (GMT) |
commit | ea5650c7354d57a18ef245b48fdf4bc351524db6 (patch) | |
tree | 82947750d07a2e84683039a6ffe747e6d813c630 /src/util.cpp | |
parent | 979ea243de83a693e0d9da545ee4cbe7db9521ee (diff) | |
download | Doxygen-ea5650c7354d57a18ef245b48fdf4bc351524db6.zip Doxygen-ea5650c7354d57a18ef245b48fdf4bc351524db6.tar.gz Doxygen-ea5650c7354d57a18ef245b48fdf4bc351524db6.tar.bz2 |
Incorrect specification of irc as URL protocol
- missing colon (`:`) at irc
- adding irc, sftp and ftps
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index 74e5226..47ca215 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -6686,7 +6686,8 @@ bool isURL(const QCString &url) { QCString loc_url = url.stripWhiteSpace(); return loc_url.left(5)=="http:" || loc_url.left(6)=="https:" || - loc_url.left(4)=="ftp:" || loc_url.left(5)=="file:"; + loc_url.left(4)=="ftp:" || loc_url.left(5)=="ftps:" || loc_url.left(5)=="sftp:" || + loc_url.left(5)=="file:"; } /** Corrects URL \a url according to the relative path \a relPath. * Returns the corrected URL. For absolute URLs no correction will be done. |