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