Skip to content

[BUG] First tilde removed in any message #6440

@Blenderplayer

Description

@Blenderplayer

Describe the bug
First tilde removed in any message in JSON Channel

To Reproduce

  1. Create a Channel with JSON Datatype input
  2. Write any message with at least one ~ (e.g. { a: 'afirstinput', b: 'asecondinput' } )
  3. Go to Channel Scripts => Preprocessor and log the message
  4. The example message is displayed without the first ~ ( { a: 'afirstinput', b: 'asecond~input' } )

Expected behavior
The message should keep all tilde characters, as it isn't a HL7 message

Actual behavior
The first occurence of a tilde character is removed

Screenshots
Channel Input:
Image

Error allready in Processed Raw:
Image

Preprocessor Log:
Image

Is logged as:
Image

Additional context
We need the tilde character for intern Api calls, that pings a REST API endpoint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions