You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Nicolas Peltier (Jira)" <ji...@apache.org> on 2022/04/25 06:34:00 UTC
[jira] [Closed] (SLING-11267) Whitespaces in property value recognized as subtoken - Sling Pipes
[ https://issues.apache.org/jira/browse/SLING-11267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicolas Peltier closed SLING-11267.
-----------------------------------
> Whitespaces in property value recognized as subtoken - Sling Pipes
> ------------------------------------------------------------------
>
> Key: SLING-11267
> URL: https://issues.apache.org/jira/browse/SLING-11267
> Project: Sling
> Issue Type: Bug
> Components: pipes
> Reporter: Marvin Flock
> Assignee: Nicolas Peltier
> Priority: Major
> Fix For: pipes 4.4.2
>
>
> Actual Behavior:
> Using Sling Pipes Command Executor with whitespaces in a property value will recognize everything after the whitespace as another subtoken.
> Expected Behavior:
> Whitespace will be recognized as part of the property value
> Alternatively a way to escape whitespaces would be nice
> Example:
> {code:java}
> curl http://localhost:4502/<path/to/slingPipe/exec/resourcetype> \
> -F 'pipe_cmd="echo /content/dam/jcr:content | write test=System Default"'{code}
> Code:
> [https://github.com/apache/sling-org-apache-sling-pipes/blob/faa622ef56b90e9edfa793de440fdbf80e74276c/src/main/java/org/apache/sling/pipes/internal/CommandExecutorImpl.java#L489]
--
This message was sent by Atlassian Jira
(v8.20.7#820007)