Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow escape sequences (like tab delimiters) #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ut-alexknox
Copy link

We found that adding \t as a delimiter comes through to the connector as \\t, triggering an error. This updates the connector so that tabs and other escape sequences work.

@matusmacik
Copy link

matusmacik commented Jul 24, 2024

Hello,

thank you for your contribution. This addition of the escape character happens when the configuration is provided through the midPoint GUI? If yes in that case I would rather recommend to create a work package at https://support.evolveum.com/.

Otherwise, wouldn't it be simpler in this case to use "substring(1)" to remove the initial escape character from the string and process it further rather than use the Properties classes?

Best regards,

Matus Macik.

@ut-alexknox
Copy link
Author

No, this isn't GUI-related. The problem is that there's no way that we've found to use tabs as a delimiter with the connector. Specifying\t is treated as two characters. If we did substring(1), then the delimiter would be t, which wouldn't be correct (apologies if I'm misunderstanding what you're proposing).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants