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

login: Fix quote removal in brand name #21498

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

martinpitt
Copy link
Member

Don't cut off the last character from brand names if they are enclosed
in quotes.

https://issues.redhat.com/browse/COCKPIT-1219
https://issues.redhat.com/browse/RHEL-72582


What an embarrassing bug... 🙈

@martinpitt
Copy link
Member Author

arch failure is subtle -- we actually show "Arch Linux " (with a trailing space).

ubuntu is more subtle - its branding says PRETTY_NAME, so tests need to take that into account.

Copy link
Member

@mvollmer mvollmer left a comment

Choose a reason for hiding this comment

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

Thanks!

@mvollmer mvollmer merged commit 6b68c56 into cockpit-project:main Jan 8, 2025
85 checks passed
@martinpitt martinpitt deleted the login-brand branch January 8, 2025 16:48
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.

2 participants