mirror of
https://github.com/bitwarden/server.git
synced 2025-01-11 20:10:38 +01:00
dockerhub version by first character number
This commit is contained in:
parent
5b08763ce5
commit
83fd8b55ac
@ -53,7 +53,7 @@ namespace Bit.Admin.Controllers
|
||||
foreach(var result in results)
|
||||
{
|
||||
var name = result["name"].ToString();
|
||||
if(name.Count(c => c == '.') > 2)
|
||||
if(string.IsNullOrWhiteSpace(name) && name.Length > 0 && char.IsNumber(name[0]))
|
||||
{
|
||||
return new JsonResult(name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user