Skip to content

Commit

Permalink
Allow slashes in authorize-session when using target name
Browse files Browse the repository at this point in the history
This requires specifying `**` as the selector in the proto, which will
match any segments and simply requires that the verb is the last part of
the URL, which it already is.
  • Loading branch information
jefferai committed May 30, 2023
1 parent 4d08c52 commit b2700bd
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 113 deletions.
3 changes: 2 additions & 1 deletion internal/gen/controller.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3124,7 +3124,8 @@
"description": "The ID of the target. Required unless some combination of scope_id/scope_name and name are set.",
"in": "path",
"required": true,
"type": "string"
"type": "string",
"pattern": ".+"
},
{
"name": "body",
Expand Down
Loading

0 comments on commit b2700bd

Please sign in to comment.