diff options
Diffstat (limited to 'src/gmutil.c')
-rw-r--r-- | src/gmutil.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gmutil.c b/src/gmutil.c index b984950e..ce1b68c7 100644 --- a/src/gmutil.c +++ b/src/gmutil.c | |||
@@ -258,6 +258,9 @@ iRangecc urlRoot_String(const iString *d) { | |||
258 | else { | 258 | else { |
259 | iUrl parts; | 259 | iUrl parts; |
260 | init_Url(&parts, d); | 260 | init_Url(&parts, d); |
261 | if (equalCase_Rangecc(parts.scheme, "about")) { | ||
262 | return (iRangecc){ constBegin_String(d), parts.path.start }; | ||
263 | } | ||
261 | rootEnd = parts.path.start; | 264 | rootEnd = parts.path.start; |
262 | } | 265 | } |
263 | return (iRangecc){ constBegin_String(d), rootEnd }; | 266 | return (iRangecc){ constBegin_String(d), rootEnd }; |