Add wildcard hosts for invalid hosts in intents. (#9993)

This commit is contained in:
funkyhippo 2021-12-05 09:21:10 -08:00 committed by GitHub
parent 8f22b785d6
commit d5ba305575
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 29 additions and 19 deletions

View File

@ -16,13 +16,14 @@
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="*.cubari.moe" />
<data android:host="cubari.moe" />
<data
android:host="*cubari.moe"
android:pathPattern="/read/..*"
android:scheme="https" />
<data
android:host="*cubari.moe"
android:pathPattern="/proxy/..*"
android:scheme="https" />
</intent-filter>
@ -32,8 +33,10 @@
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="*.guya.moe" />
<data android:host="guya.moe" />
<data
android:host="*guya.moe"
android:pathPattern="/proxy/..*"
android:scheme="https" />
</intent-filter>
@ -43,13 +46,14 @@
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="*.imgur.com" />
<data android:host="imgur.com" />
<data
android:host="*imgur.com"
android:pathPattern="/a/..*"
android:scheme="https" />
<data
android:host="*imgur.com"
android:pathPattern="/gallery/..*"
android:scheme="https" />
</intent-filter>

View File

@ -6,7 +6,7 @@ ext {
extName = 'Cubari'
pkgNameSuffix = "all.cubari"
extClass = '.CubariFactory'
extVersionCode = 9
extVersionCode = 10
}
apply from: "$rootDir/common.gradle"

View File

@ -13,24 +13,22 @@
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="*.dynasty-scans.com" />
<data android:host="dynasty-scans.com" />
<data
android:host="*dynasty-scans.com"
android:pathPattern="/anthologies/..*"
android:scheme="https" />
<data
android:host="*dynasty-scans.com"
android:pathPattern="/chapters/..*"
android:scheme="https" />
<data
android:host="*dynasty-scans.com"
android:pathPattern="/doujins/..*"
android:scheme="https" />
<data
android:host="*dynasty-scans.com"
android:pathPattern="/issues/..*"
android:scheme="https" />
<data
android:host="*dynasty-scans.com"
android:pathPattern="/series/..*"
android:scheme="https" />

View File

@ -6,7 +6,7 @@ ext {
extName = 'Dynasty'
pkgNameSuffix = 'en.dynasty'
extClass = '.DynastyFactory'
extVersionCode = 15
extVersionCode = 16
}
apply from: "$rootDir/common.gradle"

View File

@ -13,12 +13,16 @@
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="*.baozimh.com" />
<data android:host="baozimh.com" />
<data android:host="*.webmota.com" />
<data android:host="webmota.com" />
<data
android:host="*baozimh.com"
android:pathPattern="/comic/..*"
android:scheme="https" />
<data
android:host="*webmota.com"
android:pathPattern="/comic/chapter/..*"
android:scheme="https" />

View File

@ -6,7 +6,7 @@ ext {
extName = 'Baozimanhua'
pkgNameSuffix = 'zh.baozimanhua'
extClass = '.Baozimanhua'
extVersionCode = 1
extVersionCode = 2
}
apply from: "$rootDir/common.gradle"

View File

@ -13,12 +13,14 @@
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="*.kuaikanmanhua.com" />
<data android:host="kuaikanmanhua.com" />
<data
android:host="m.kuaikanmanhua.com"
android:pathPattern="/mobile/..*"
android:scheme="https" />
<data
android:host="*kuaikanmanhua.com"
android:pathPattern="/web/topic/..*"
android:scheme="https" />

View File

@ -6,7 +6,7 @@ ext {
extName = 'Kuaikanmanhua'
pkgNameSuffix = 'zh.kuaikanmanhua'
extClass = '.Kuaikanmanhua'
extVersionCode = 7
extVersionCode = 8
}
apply from: "$rootDir/common.gradle"

View File

@ -13,12 +13,14 @@
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="ac.qq.com" />
<data android:host="*.ac.qq.com" />
<data
android:host="m.ac.qq.com"
android:pathPattern="/comic/index/id/..*"
android:scheme="https" />
<data
android:host="*ac.qq.com"
android:pathPattern="/Comic/comicInfo/id/..*"
android:scheme="https" />

View File

@ -6,7 +6,7 @@ ext {
extName = 'Tencent Comics (ac.qq.com)'
pkgNameSuffix = 'zh.tencentcomics'
extClass = '.TencentComics'
extVersionCode = 2
extVersionCode = 3
}
apply from: "$rootDir/common.gradle"