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
[dev.icinga.com #7314] double macros in command arguments seems to lead to exception #2021
Comments
Updated by mfriedrich on 2014-10-11 17:07:26 +00:00 Problem is here that the macro resolver interprets two dollar signs as one dollar sign being escaped. Though the error message should be better. |
Updated by kiorky on 2014-10-14 09:31:34 +00:00 Ok, but then, how can i write this command ? |
Updated by mfriedrich on 2014-10-14 09:48:41 +00:00
Try it the shell escaping way of an empty string and trick the parser:
|
Updated by mfriedrich on 2014-11-11 22:28:05 +00:00
|
Updated by mfriedrich on 2014-11-24 13:25:36 +00:00
|
Updated by mfriedrich on 2014-11-25 09:49:54 +00:00
|
Updated by gbeutner on 2014-11-26 19:22:06 +00:00 TODO: Add a unit test for this once it's fixed. |
Updated by gbeutner on 2014-12-01 14:43:34 +00:00
|
Updated by gbeutner on 2014-12-01 14:55:03 +00:00
Applied in changeset a5c206c. |
Updated by kiorky on 2014-12-01 17:27:06 +00:00 Great ! |
Updated by gbeutner on 2014-12-11 17:56:16 +00:00
|
Updated by mfriedrich on 2014-12-16 19:01:14 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/7314
Created by kiorky on 2014-09-25 15:55:13 +00:00
Assignee: gbeutner
Status: Resolved (closed on 2014-12-01 14:55:03 +00:00)
Target Version: 2.2.2
Last Update: 2014-12-01 17:27:06 +00:00 (in Redmine)
leads to
Attachments
Changesets
2014-12-01 14:53:23 +00:00 by gbeutner a5c206c
2014-12-01 14:54:45 +00:00 by gbeutner c0b78e8
Relations:
The text was updated successfully, but these errors were encountered: