Skip to content

Conversation

@sn-kylesimon
Copy link

When a URI is too long, calling Variable.isValidValue() will result in a StackOverflowError.

The reason is the capturing group (?:) usage in the VALID_VALUE regex. The solution is to update the regex with atomic grouping (?>, non-capturing) which is effectively the same regex.

@sn-kylesimon sn-kylesimon marked this pull request as draft May 4, 2023 23:17
@rlhagen
Copy link

rlhagen commented May 5, 2023

This addresses this issue.

@sn-kylesimon sn-kylesimon marked this pull request as ready for review May 5, 2023 16:54
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants