Skip to content

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

Open
ilausuch wants to merge 1 commit into
crowbar:masterfrom
ilausuch:dots_in_group_names
Open

crowbar: Modify regex of group names to forbid dots (SOC-8011)#1855
ilausuch wants to merge 1 commit into
crowbar:masterfrom
ilausuch:dots_in_group_names

Conversation

@ilausuch

@ilausuch ilausuch commented May 20, 2019

Copy link
Copy Markdown
Contributor

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

@nicolasbock nicolasbock left a comment

Copy link
Copy Markdown
Contributor

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

ilausuch commented Jul 9, 2019

Copy link
Copy Markdown
Contributor Author

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

@nicolasbock nicolasbock left a comment

Copy link
Copy Markdown
Contributor

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 ilausuch force-pushed the dots_in_group_names branch from 858765b to 4eb8009 Compare July 10, 2019 07:50
@ilausuch

Copy link
Copy Markdown
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 force-pushed the dots_in_group_names branch from 4eb8009 to 3c9a3ce Compare July 10, 2019 10:12
@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

@nicolasbock nicolasbock left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@CAlmeidadeOliveira CAlmeidadeOliveira self-requested a review December 3, 2019 11:07
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