Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RESTEasy Reactive match bug #28442

Merged
merged 1 commit into from Oct 11, 2022
Merged

Conversation

stuartwdouglas
Copy link
Member

When matching literals we break out of the wrong loop

When matching literals we break out of the wrong loop
@quarkus-bot
Copy link

quarkus-bot bot commented Oct 7, 2022

Failing Jobs - Building 7dfe43a

Status Name Step Failures Logs Raw logs
✔️ JVM Tests - JDK 11
✔️ JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Set up runner ⚠️ Check → Logs Raw logs
✔️ JVM Tests - JDK 18

@geoand
Copy link
Contributor

geoand commented Oct 7, 2022

Did you spot a specific issue that this fixes?

Asking because I don't see it mentioned in the description.

@geoand
Copy link
Contributor

geoand commented Oct 10, 2022

@stuartwdouglas ^

@gsmet gsmet changed the title Fix RR match bug Fix RESTEasy Reactive match bug Oct 10, 2022
@stuartwdouglas
Copy link
Member Author

The test covers the issue. Basically if you have a pattern with a literal in the middle of the pattern and the literal fails to match it breaks out of the wrong loop, and continues to attempt to match. If a subsequent regex then matches the match is considered to be true, even though it should have failed on the literal match.

@geoand geoand merged commit e813c8c into quarkusio:main Oct 11, 2022
@quarkus-bot quarkus-bot bot added this to the 2.14 - main milestone Oct 11, 2022
@gsmet gsmet modified the milestones: 2.14 - main, 2.13.2.Final Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants