Marvin Flock created SLING-11267:
------------------------------------

             Summary: 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
            Reporter: Marvin Flock


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)

Reply via email to