mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-21 20:22:41 +09:00
tka: fix OS name validation in signing deeplinks
Updates #cleanup Signed-off-by: IgorPolyakov <igorpolyakov@protonmail.com>
This commit is contained in:
1 parent
075e6403b2
commit
89b8a8e561
1 file changed
+1
-1
+1
-1
@@ -169,7 +169,7 @@ func (a *Authority) ValidateDeeplink(urlString string) DeeplinkValidationResult
|
||||
}
|
||||
|
||||
osName := parsedUrl.Query().Get("os")
|
||||
if len(deviceName) == 0 {
|
||||
if len(osName) == 0 {
|
||||
return DeeplinkValidationResult{
|
||||
IsValid: false,
|
||||
Error: "missing os (OSName) query parameter",
|
||||
|
||||
Reference in new issue
Block a user