Skip to content

Copying from ConfigMap README results in invalid ConfigMap character (non-breaking hypen) #2110

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
victortrac opened this issue Feb 16, 2018 · 0 comments · Fixed by #2111
Closed
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@victortrac
Copy link
Contributor

The current ConfigMap README has a list of configuration names that use a unicode non-breaking hyphen instead of an actual hyphen. While the advantage is that the table is single-lined, it means that users who copy the config names and paste them into their config maps get a configuration that is ignored.

Visually, copying from the README looks the same:

whitelist‑source‑range
whitelist-source-range

But of course it doesn't properly evaluate as true in go: https://play.golang.org/p/AIO11xtQLGB

This is probably a source of frustration for many users copying configuration options from the README.

@aledbf aledbf added the kind/bug Categorizes issue or PR as related to a bug. label Feb 16, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants