Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Conversation

kddejong
Copy link

Issue #, if available:

Description of changes:

  • Update regex patterns to make them more valid

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

"items": {
"type": "string",
"pattern": "^[\\/]+([^~]*(~[01])*)*{1,512}$"
"pattern": "^[\\/]+([^~]*(~[01])*){1,512}$"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per the docs ([/])|([/](([^~])|(~[01]))+) https://docs.aws.amazon.com/waf/latest/APIReference/API_JsonMatchPattern.html

I think this is the right fix.

@kddejong kddejong force-pushed the update/regex/patterns branch from 2b32f80 to 3120b07 Compare October 24, 2022 20:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant