feat: en/decodeURI in permission/role name (#2137)

This commit is contained in:
June
2023-07-26 12:08:35 +07:00
committed by GitHub
parent 55d5ae10f2
commit b5e9084e5d
8 changed files with 14 additions and 14 deletions

View File

@ -69,7 +69,7 @@ func getObject(ctx *context.Context) (string, string) {
// query == "?id=built-in/admin"
id := ctx.Input.Query("id")
if id != "" {
return util.GetOwnerAndNameFromId(id)
return util.GetOwnerAndNameFromIdNoCheck(id)
}
owner := ctx.Input.Query("owner")