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
Milestone

Comments

@icinga-migration
Copy link
Member

@icinga-migration icinga-migration commented Aug 26, 2015

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

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Aug 27, 2015

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

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Aug 27, 2015

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

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Sep 5, 2015

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

  • Backport? changed from TBD to No
@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Sep 7, 2015

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

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Oct 13, 2015

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.