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

crowbar: Modify regex of group names to forbid dots (SOC-8011) #1855

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ilausuch
Copy link
Contributor

@ilausuch ilausuch commented May 20, 2019

Group names cannot contain dots because it conflicts with
the url route

/nodes/groups/1.0/:id/:group(.:format)

Now JS doesn't allow dots in the group names

More info at https://jira.suse.com/browse/SOC-8011

Copy link
Contributor

@nicolasbock nicolasbock left a comment

Choose a reason for hiding this comment

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

Could you link to a bug report or some output of a failure so that I can understand better how this fails if the group contains a dot? Thanks!

@ilausuch
Copy link
Contributor Author

ilausuch commented Jul 9, 2019

I think there is not a bug, but there is this card https://jira.suse.com/browse/SOC-8011

Copy link
Contributor

@nicolasbock nicolasbock 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 the link @ilausuch ! Should we mention that in the commit message as well?

@ilausuch
Copy link
Contributor Author

Done

Group names cannot contain dots because it conflicts with
the url route

/nodes/groups/1.0/:id/:group(.:format)

Now JS doesn't allow dots in the group names

More info at https://jira.suse.com/browse/SOC-8011
@ilausuch ilausuch changed the title crowbar: Modify regex of group names to forbid dots crowbar: Modify regex of group names to forbid dots (SOC-8011) Jul 10, 2019
Copy link
Contributor

@nicolasbock nicolasbock left a comment

Choose a reason for hiding this comment

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

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants