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

add space to SPACE_CHARS (bsc#1173907) #1077

Merged
merged 2 commits into from Jul 9, 2020
Merged

add space to SPACE_CHARS (bsc#1173907) #1077

merged 2 commits into from Jul 9, 2020

Conversation

wfeldt
Copy link
Member

@wfeldt wfeldt commented Jul 9, 2020

Problem

SPACE_CHARS https://github.com/yast/yast-yast2/blob/master/library/types/src/modules/String.rb#L42 doesn't include a space.

This makes it impossible to work with ESSIDs containing a space. See
https://github.com/yast/yast-network/blob/master/src/lib/y2network/widgets/wireless_essid.rb#L95-L97

Solution

Add it.

Evil side effects

AFAICS SPACE_CHARS is only used in Yast::String.CPrint and that's only used in the ESSID dialog. So I wouldn't expect any evil fallout by this change.

@coveralls
Copy link

coveralls commented Jul 9, 2020

Coverage Status

Coverage remained the same at 31.743% when pulling cc95fce on sw_04 into c62889e on master.

@shundhammer
Copy link
Contributor

No version bump and change log?

Copy link
Contributor

@shundhammer shundhammer left a comment

Choose a reason for hiding this comment

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

LGTM

@wfeldt wfeldt merged commit 5265884 into master Jul 9, 2020
@wfeldt wfeldt deleted the sw_04 branch July 9, 2020 14:39
@yast-bot
Copy link
Contributor

yast-bot commented Jul 9, 2020

✔️ Public Jenkins job #224 successfully finished
✔️ Created OBS submit request #819745

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.

None yet

4 participants