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

[dev.icinga.com #10004] escape_shell_arg() method #3326

Closed
icinga-migration opened this issue Aug 26, 2015 · 5 comments
Closed

[dev.icinga.com #10004] escape_shell_arg() method #3326

icinga-migration opened this issue Aug 26, 2015 · 5 comments
Labels
enhancement New feature or request
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/10004

Created by tgelf on 2015-08-26 15:17:22 +00:00

Assignee: gbeutner
Status: Resolved (closed on 2015-08-27 07:02:48 +00:00)
Target Version: 2.3.11
Last Update: 2015-10-13 10:06:38 +00:00 (in Redmine)

Backport?: Already backported
Include in Changelog: 1

It is not always possible to rely on the default escaping mechanism for your very own command arguments. The C parameter for check_by_ssh is such an example you are not able to escape "remote" command arguments. A method allowing one to escape a string in a safe way could be very helpful.

Thanks,
Thomas

Changesets

2015-08-27 07:02:21 +00:00 by (unknown) 373b88d

Implement the escape_shell_arg and escape_shell_cmd functions

fixes #10004

2015-10-13 10:06:15 +00:00 by (unknown) a530bb9

Implement the escape_shell_arg and escape_shell_cmd functions

fixes #10004
@icinga-migration
Copy link
Author

Updated by gbeutner on 2015-08-27 06:58:40 +00:00

  • Category set to libbase
  • Status changed from New to Assigned
  • Assigned to set to gbeutner
  • Target Version set to 2.4.0

@icinga-migration
Copy link
Author

Updated by Anonymous on 2015-08-27 07:02:48 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset 373b88d.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-09-05 13:21:30 +00:00

  • Backport? changed from TBD to No

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-09-07 14:15:54 +00:00

  • Backport? changed from No to TBD

According to Lennart, this should be fairly easy to backport.

@icinga-migration
Copy link
Author

Updated by gbeutner on 2015-10-13 10:06:38 +00:00

  • Target Version changed from 2.4.0 to 2.3.11
  • Backport? changed from TBD to Yes

@icinga-migration icinga-migration added enhancement New feature or request libbase labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.3.11 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant