mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-05-28 04:20:13 +02:00
Mandatory host body and suffic for wildcard urls
This commit is contained in:
parent
31b43da96f
commit
34d76e79ed
@ -176,7 +176,7 @@ class SourcePluginConfig(
|
||||
}
|
||||
|
||||
companion object {
|
||||
private val _allowRegex = Regex("\\*\\.[a-z0-9]*\\.[a-z]*");
|
||||
private val _allowRegex = Regex("\\*\\.[a-z0-9]+\\.[a-z]+");
|
||||
|
||||
fun fromJson(json: String, sourceUrl: String? = null): SourcePluginConfig {
|
||||
val obj = Serializer.json.decodeFromString<SourcePluginConfig>(json);
|
||||
|
Loading…
x
Reference in New Issue
Block a user