mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-28 04:03:44 +01:00 
			
		
		
		
	F-Droid URL parsing bugfix (#1933)
This commit is contained in:
		| @@ -45,7 +45,7 @@ class FDroid extends AppSource { | ||||
|     RegExpMatch? match = standardUrlRegExB.firstMatch(url); | ||||
|     if (match != null) { | ||||
|       url = | ||||
|           'https://${Uri.parse(match.group(0)!).host}/packages/${Uri.parse(url).pathSegments.last}'; | ||||
|           'https://${Uri.parse(match.group(0)!).host}/packages/${Uri.parse(url).pathSegments.where((s) => s.trim().isNotEmpty).last}'; | ||||
|     } | ||||
|     RegExp standardUrlRegExA = RegExp( | ||||
|         '^https?://(www\\.)?${getSourceRegex(hosts)}/+packages/+[^/]+', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user