From 0aa4d9c5929a7c923c6aa3bc4f196d2d88efb84f Mon Sep 17 00:00:00 2001 From: ryg-git Date: Mon, 29 Mar 2021 22:51:30 +0530 Subject: [PATCH] in cleanup url instance host is now changed to lowercase letters. --- lib/util/cleanup_url.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/cleanup_url.dart b/lib/util/cleanup_url.dart index d215d9f..0646973 100644 --- a/lib/util/cleanup_url.dart +++ b/lib/util/cleanup_url.dart @@ -1,6 +1,6 @@ /// Strips protocol, 'www.', and trailing '/' from [url] aka. cleans it up String cleanUpUrl(String url) { - var newUrl = url; + var newUrl = url.toLowerCase(); if (newUrl.startsWith('https://')) { newUrl = newUrl.substring(8);