Options in jobs are escaped
Reported by Nores | February 25th, 2011 @ 09:10 AM | in Rundeck 1.3 (closed)
When passing option to commands its escapes special characters
For example in this job backticks and pipe will be escaped:
- id: 17
project: examples
loglevel: INFO
sequence:
keepgoing: false
strategy: node-first
commands:
- exec: echo ${option.kit}
description: ''
name: norestest
options:
kit:
value: '`ls -t1 /* | head -n1`'
Comments and changes to this ticket
-
Greg Schueler March 15th, 2011 @ 07:54 AM
- Milestone set to Rundeck 1.3
- Milestone order changed from 16 to 0
-
Alex-SF June 8th, 2011 @ 11:13 AM
- Tag set to bug
- Milestone order changed from 10 to 0
-
Deleted User June 13th, 2011 @ 06:03 PM
- State changed from new to needs_verification
(from [d0ae5cb41712768f31985158a0692a374b0593a9]) Remove escaping from data context var replacements [#217 state:needs_verification] https://github.com/dtolabs/rundeck/commit/d0ae5cb41712768f31985158a...
-
Greg Schueler June 13th, 2011 @ 06:13 PM
- Assigned user set to Greg Schueler
-
Alex-SF July 8th, 2011 @ 11:09 AM
The escaping is gone but the option.kit does not evaluate before the echo command.
Adding an eval before the echo does work on a local dispatch.- id: 17 project: examples loglevel: INFO sequence: keepgoing: false strategy: node-first commands: - exec: eval echo ${option.kit} description: '' name: norestest options: kit: value: '`ls -t1 /* | head -n1`'
-
Alex-SF July 8th, 2011 @ 01:24 PM
- State changed from needs_verification to resolved
-
Williams Daniel May 5th, 2023 @ 09:08 PM
This is not a bad idea. I'll try your way with the system I'm using. wordle
-
rosydam March 25th, 2024 @ 12:00 AM
Geometry Dash is intuitive controls make it easy for anyone to pick up and play, yet it offers depth and complexity that will keep even the most seasoned gamers engaged.
-
beckham836 June 17th, 2024 @ 02:12 AM
Subway Surfers brings endless running to a new level with its stunning graphics and engaging gameplay. Play online for free and enjoy daily rewards!
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues
People watching this ticket
Tags
Referenced by
- 217 Options in jobs are escaped (from [d0ae5cb41712768f31985158a0692a374b0593a9]) Remove ...