Skip to content

Support the usage of special character in passwords#470

Merged
afeefghannam89 merged 7 commits into
mainfrom
fix/282_passwords_with_special_characters
Jun 25, 2026
Merged

Support the usage of special character in passwords#470
afeefghannam89 merged 7 commits into
mainfrom
fix/282_passwords_with_special_characters

Conversation

@afeefghannam89

@afeefghannam89 afeefghannam89 commented Jun 24, 2026

Copy link
Copy Markdown
Member

Fix #282

Use command with argv to ensure that all special characters are handled correctly, including spaces and empty strings, for every password in this collection. For more info see

argv is already a fully constructed argument list, it is passed directly to execve() without any shlex processing. There is no splitting, quote parsing, or expansion. Every element is delivered exactly as provided, byte for byte. That's why using argv is the correct solution for handling arbitrary special characters, whereas the string-based approach (whether command or shell) must always go through some form of tokenization

@afeefghannam89 afeefghannam89 changed the title Support the usage of special character in ElasticSearch password Support the usage of special character in passwords Jun 25, 2026

@widhalmt widhalmt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. This should get us rid of this "Umlauts" bug. Thanks!

@afeefghannam89 afeefghannam89 merged commit 585b4b4 into main Jun 25, 2026
18 checks passed
@afeefghannam89 afeefghannam89 deleted the fix/282_passwords_with_special_characters branch June 25, 2026 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

elasticsearch_tls_key_passphrase containing $ not working

2 participants