in cleanup url instance host is now changed to lowercase letters.

This commit is contained in:
ryg-git 2021-03-29 22:51:30 +05:30
parent 460b4f3c8a
commit 0aa4d9c592
1 changed files with 1 additions and 1 deletions

View File

@ -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);