Actions
Architecture #10747
openregextract cannot extract values that contains ${TEXT} if TEXT is not a variable
Pull Request:
Effort required:
Name check:
Fix check:
Regression:
Description
Agent tries to expand variables in regextract, even if it doesn't make sense
Escaping with ${const.dollar}{TEXT} doesn't fix the issue, nor does ${const.dollar}{const.dollar}{const.dollar}{const.dollar}{const.dollar}{const.dollar}{TEXT} (i stopped at 6)
This prevents using shell variables in, for instance , ssh_key_definition (see #10715)
Updated by Nicolas CHARLES over 7 years ago
- Related to Bug #10715: escaping ${SSH_ORIGINAL_COMMAND} in GUI - sshKeyDistribution/3.0 added
Updated by Nicolas CHARLES over 7 years ago
Ticket opened on upstream project: https://tracker.mender.io/browse/CFE-2637
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.20 to 3.1.21
Updated by François ARMAND over 7 years ago
- Tracker changed from Bug to Architecture
Perhaps a workaround could be to assign to a variable (so that the expansion is done) before the regextract call. It would be needed in each technique using regextract.
This one is an architecture bug.
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.21 to 3.1.22
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.22 to 3.1.23
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.23 to 3.1.24
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 3.1.24 to 3.1.25
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 3.1.25 to 387
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 387 to 4.1.10
Updated by Benoît PECCATTE almost 7 years ago
- Target version changed from 4.1.10 to Ideas (not version specific)
Actions