Skip to content

Commit

Permalink
modified PathTraversalSafePathParam definition
Browse files Browse the repository at this point in the history
  • Loading branch information
acuiuli committed Oct 11, 2023
1 parent 0dd61e2 commit 44c0d0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openapi/definitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1595,8 +1595,8 @@ Ulid:
format: Ulid
x-import: '@pagopa/ts-commons/lib/strings'
example: 01ARZ3NDEKTSV4RRFFQ69G5FAV
UrlSafeServiceId:
PathTraversalSafePathParam:
description:
A non empty string that is safe to be used in an url parameter
A non empty string that is safe to be used in an url parameter to avoid path traversal attacks
type: string
pattern: "^[0-9a-zA-Z\\-]+$"
pattern: "^[0-9a-zA-Z\\-\\._\\/+]+$"

0 comments on commit 44c0d0f

Please sign in to comment.