Skip to content

[Windows] Configuration values are improperly decoded #2194

@peternied

Description

@peternied

What is the bug?
When users.yml is proccessed by DynamicSecurityConfig through the scenario tests the user strings are improperly treated as ANSI values.

Expected username §ÄÖÜäöüß, malformed username §ÄÖÜäöüß

How can one reproduce the bug?
On a windows machine run the following command
./gradlew.bat test --tests org.opensearch.security.IntegrationTests.testSpecialUsernames

Additional Context
Its not yet clear if this is a scenario test issue or if this a problem with any configuration that is loaded normally.

Should attempt a manual repro on windows with an UTF-8 name like above in the configuration settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriagedIssues labeled as 'Triaged' have been reviewed and are deemed actionable.windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions