From c3c6242ed135f9eca805380394791d17b0fc7a63 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 30 Jan 2024 12:41:49 +0100 Subject: url: add remark to documentation about hardcoded // substring (#293) --- src/vmime/utility/url.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/vmime/utility/url.hpp b/src/vmime/utility/url.hpp index 8dfa3c45..e8e818f0 100644 --- a/src/vmime/utility/url.hpp +++ b/src/vmime/utility/url.hpp @@ -35,7 +35,10 @@ namespace utility { /** This class represents a Uniform Resource Locator (a pointer - * to a "resource" on the World Wide Web). + * to a "resource" on the World Wide Web). It is meant to be only + * used in conjunction with vmime, as all URLs and URL components are + * interpreted as, or re-written into, Common Internet Scheme (RFC 1738 ยง3.1) + * form. (As such, it cannot be used with e.g. the mailto: scheme.) * * Format: * "protocol://[username[:password]@]host[:port][/path]" -- cgit v1.2.3