-
Notifications
You must be signed in to change notification settings - Fork 457
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
(#20912) Split argments while maintaining quoted strings #189
(#20912) Split argments while maintaining quoted strings #189
Conversation
Github Bug: 182 Signed-off-by: Joe Julian <me@joejulian.name> (signed CLA)
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
ok to test |
|
Merged build triggered. (Status: PENDING, Details: null) |
|
Merged build started. (Status: PENDING, Details: http://box.bob.sh:8080/job/puppetlabs-firewall-system/205/) |
|
Merged build finished. (Status: SUCCESS, Details: http://box.bob.sh:8080/job/puppetlabs-firewall-system/205/) |
|
So this patch here: kbarber@f921bdc replicates the issue. Can you cherry pick this into your branch? |
Signed-off-by: Ken Barber <ken@bob.sh>
|
Merged build triggered. (Status: PENDING, Details: null) |
|
Merged build started. (Status: PENDING, Details: http://box.bob.sh:8080/job/puppetlabs-firewall-system/213/) |
|
Merged build finished. (Status: SUCCESS, Details: http://box.bob.sh:8080/job/puppetlabs-firewall-system/213/) |
…hile_maintaining_quoted_strings (#20912) Split argments while maintaining quoted strings
In delete_args, the parsing routine would split the line, but combine everything between the first and the last quote on the line. If there were multiple quoted strings this would combine arguments that should have been separate.
This combines all that into a single regex split that will keep quoted strings together.
Github Bug: 182
Signed-off-by: Joe Julian me@joejulian.name (signed CLA)