Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32356

fix API breakdown when inputting tags comprised solely of special characters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2021.x, 2023.x
    • Component/s: Web UI

      Description

      Steps to reproduce:
      Note: Tag sanitization should be enabled from server side
      1. Create a document.
      2. go to the metadata section , add a tag in the tags section which only comprised of special characters.
      3. open the network tab , save the tag
      4. The server gives internal server error
      Attaching a video for your reference too.

      curl 'http://localhost:8080/nuxeo/api/v1/automation/Services.TagDocument' \
        -H 'Accept: application/json' \
        -H 'Content-Type: application/json' \
        -H 'X-NXRepository: default' \
        -H 'properties: *' \
        --data-raw '{"params":{"tags":"%%%"},"context":{},"input":"3f70b2cd-f8ac-49fe-ac28-7215bbec9e85"}' \
        --compressed
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: