Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Should the String DeduplicateConcat separator be escaped? #40

@m607123

Description

@m607123

When the input strings are handled, they are split using the .split() method, which uses RegEx - however if the user inputs a character that can be interpreted by RegEx ( pipe symbol, open parentheses etc ) it won't be escaped, and the output will then be incorrect.
What would be the best way to handle this - sanitise the inputs, throw an error, or request that the user input a valid delimiter instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionSpecific query about part of the codebase

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions