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

FISH-5974 Specify system-property with Double Quotes in preboot-command File #5599

Merged
merged 1 commit into from
Feb 4, 2022

Conversation

JamesHillyard
Copy link
Member

Description

A bug fix where putting double quotes in a command stored in a preboot-command file would result in UnacceptableValueException: Invalid parameter: name_value. This parameter may not have more than one value.

Important Info

Blockers

None

Testing

New tests

No new tests. Added this scenario to existing tests

Testing Performed

Manually tested against the reproducer and values from unit test in regex101.

Testing Environment

Windows 10, JDK 11, Maven 3.6.3

Documentation

N/A

Notes for Reviewers

The new regex works by using a positive lookahead to check the current character is not a double or single quote preceded by a backslash, which checked by using a nested negative lookbehind.

This regex can be seen and tested in regex101 here: https://regex101.com/r/2aVRtd/1

FISH-5974 Specify system-property with Double Quotes in preboot-command File
@JamesHillyard JamesHillyard requested a review from aubi February 4, 2022 12:26
@Pandrex247 Pandrex247 merged commit 19b6836 into payara:Payara6 Feb 4, 2022
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