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

Remove invalid characters from default server.name config value #141350

Merged
merged 2 commits into from
Sep 23, 2022

Conversation

pgayvallet
Copy link
Contributor

Summary

Part of #139730

Remove invalid characters from the syscall to hostname when setting the default value for the server.name config value (more context in linked issue)

@pgayvallet pgayvallet added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc release_note:skip Skip the PR/issue when compiling release notes v8.5.0 labels Sep 22, 2022
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@pgayvallet pgayvallet marked this pull request as ready for review September 22, 2022 11:05
@pgayvallet pgayvallet requested a review from a team as a code owner September 22, 2022 11:06
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@pgayvallet pgayvallet added v8.6.0 and removed v8.5.0 labels Sep 22, 2022
Copy link
Contributor

@TinaHeiligers TinaHeiligers left a comment

Choose a reason for hiding this comment

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

Thanks for jumping on this so quickly.
LGTM

});

test('removes non-ascii characters from os.hostname() when used as default', () => {
mockHostname = 'Apple’s amazing idea♥';
Copy link
Contributor

Choose a reason for hiding this comment

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

100%

@pgayvallet pgayvallet merged commit 6786b1e into elastic:main Sep 23, 2022
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v8.6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants