Cli serve_web sets the path prefix to /<quality>-<commit>/, commit value parsing error (#233986)
fix #233984
This commit is contained in:
Родитель
00762bfa46
Коммит
4e2855ff7f
|
@ -252,6 +252,7 @@ fn get_release_from_path(path: &str, platform: Platform) -> Option<(Release, Str
|
|||
|
||||
let (quality_commit, remaining) = path.split_at(i);
|
||||
let (quality, commit) = quality_commit.split_at(quality_commit_sep);
|
||||
let commit = &commit[1..];
|
||||
|
||||
if !is_commit_hash(commit) {
|
||||
return None;
|
||||
|
|
Загрузка…
Ссылка в новой задаче