Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11267

Whitespaces in property value recognized as subtoken - Sling Pipes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • pipes 4.4.2
    • pipes
    • None

    Description

      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:

      curl http://localhost:4502/<path/to/slingPipe/exec/resourcetype> \
      -F 'pipe_cmd="echo /content/dam/jcr:content | write test=System Default"'

      Code:
      https://github.com/apache/sling-org-apache-sling-pipes/blob/faa622ef56b90e9edfa793de440fdbf80e74276c/src/main/java/org/apache/sling/pipes/internal/CommandExecutorImpl.java#L489

      Attachments

        Activity

          People

            npeltier Nicolas Peltier
            MFlock Marvin Flock
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: