mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-11-04 07:13:28 +01:00 
			
		
		
		
	Bugfixes: Don't make URLs lowercase, never auto-select Jenkins
This commit is contained in:
		@@ -52,9 +52,10 @@ class GitLab extends AppSource {
 | 
			
		||||
 | 
			
		||||
  @override
 | 
			
		||||
  String sourceSpecificStandardizeURL(String url) {
 | 
			
		||||
    RegExp standardUrlRegEx =
 | 
			
		||||
        RegExp('^https?://(www\\.)?${getSourceRegex(hosts)}/[^/]+/[^/]+');
 | 
			
		||||
    RegExpMatch? match = standardUrlRegEx.firstMatch(url.toLowerCase());
 | 
			
		||||
    RegExp standardUrlRegEx = RegExp(
 | 
			
		||||
        '^https?://(www\\.)?${getSourceRegex(hosts)}/[^/]+/[^/]+',
 | 
			
		||||
        caseSensitive: false);
 | 
			
		||||
    RegExpMatch? match = standardUrlRegEx.firstMatch(url);
 | 
			
		||||
    if (match == null) {
 | 
			
		||||
      throw InvalidURLError(name);
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user