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

Prevent usage of ':' in feature names. #95

Closed

Conversation

jimmyca15
Copy link
Member

Utilizing ':' in feature names causes problems due to how the .NET Core configuration system treats this character. This can lead to confusing situations when a developer tries to check whether a feature name that contains a ':' character is enabled.

This PR updates the ConfigurationFeatureDefinitionProvider to throw an ArgumentException if ':' is passed in with a feature name to prevent developers from hitting these issues. Custom implementations of IFeatureDefinitionProvider are free to support features with ':'.

#90

@jimmyca15 jimmyca15 requested a review from zhenlan September 14, 2020 18:13
@microsoft-github-updates microsoft-github-updates bot changed the base branch from master to main September 22, 2020 22:48
@abhilasharora abhilasharora force-pushed the user/jimmyca/colonFeatureName branch from 890ab1a to b638539 Compare January 5, 2021 18:57
@zhiyuanliang-ms
Copy link
Contributor

Move to #288

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.

3 participants