Increase OAuth2 state parameter limit
Этот коммит содержится в:
@@ -115,7 +115,7 @@ func TestAuthIsValid(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
ad.Scope = NewRandomString(129)
|
||||
ad.Scope = NewRandomString(1025)
|
||||
if err := ad.IsValid(); err == nil {
|
||||
t.Fatal("Should have failed invalid Scope")
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user