This issue has been created
There are 2 updates, 1 comment.
 
 
Trusted authentication framework / cid:jira-generated-image-avatar-024acaf7-3452-4fb1-9785-8d8241035678 TRUSTAUTH-38 Open

When cleanning group namesfor unsupported characters, the new group names are wrong

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-704c7b0f-3422-4b44-8875-8d912426cf5d Raluca Stavro created this issue on 26/Mar/26 06:20
 
Summary: When cleanning group namesfor unsupported characters, the new group names are wrong
Issue Type: cid:jira-generated-image-avatar-024acaf7-3452-4fb1-9785-8d8241035678 Bug
Affects Versions: 1.9.8
Assignee: Unassigned
Components: API
Created: 26/Mar/26 06:20
Priority: cid:jira-generated-image-static-major-eacba31f-fd54-4d28-8299-54f2fe189979 Major
Reporter: Raluca Stavro
Description:

If

  • the prefix is "xwiki:Wiki.Prefix"
  • the suffix is "Suffix"
  • the provided group name is "GroupName"

then the expected group name is "xwiki:Wiki.PrefixGroupNameSuffix", but in reality it is generated as "xwiki:Wiki.xwikiWikiPrefixGroupNameSuffix"

That happens because the prefix and the suffix are also cleaned before generating the complete group name.

 
 

2 updates

 
cid:jira-generated-image-avatar-704c7b0f-3422-4b44-8875-8d912426cf5d Changes by Raluca Stavro on 26/Mar/26 06:20
 
Description: If
* the prefix is "xwiki:Wiki.Prefix"
* the suffix is "Suffix"
* the provided group name is "GroupName"

then the expected group name is "xwiki:Wiki.PrefixGroupNameSuffix", but in reality it is generated as "xwiki:Wiki.xwikiWikiPrefixGroupNameSuffix"


That happens because the prefix and the suffix are also cleaned before generating the complete group name.
Assignee: Raluca Stavro
 
 

1 comment

 
cid:jira-generated-image-avatar-704c7b0f-3422-4b44-8875-8d912426cf5d Raluca Stavro on 26/Mar/26 06:25
 


That happens because the prefix and the suffix are also cleaned before generating the complete group name. The prefix and the suffix should not be cleaned in the code, but in the configuration file.