From ec4a55a53c2ee358e0b6f6220a7fad6c83cb4101 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 8 Aug 2020 22:36:49 +0300 Subject: Don't try to make "about:" URLs absolute --- src/gmutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gmutil.c') diff --git a/src/gmutil.c b/src/gmutil.c index 4b49e1d0..a919d621 100644 --- a/src/gmutil.c +++ b/src/gmutil.c @@ -99,7 +99,7 @@ const iString *absoluteUrl_String(const iString *d, const iString *urlMaybeRelat iUrl rel; init_Url(&orig, d); init_Url(&rel, urlMaybeRelative); - if (equalCase_Rangecc(&rel.protocol, "data")) { + if (equalCase_Rangecc(&rel.protocol, "data") || equalCase_Rangecc(&rel.protocol, "about")) { /* Special case, the contents should be left unparsed. */ return urlMaybeRelative; } -- cgit v1.2.3