This issue has been created
There is 1 update.
 
 
LDAP / cid:jira-generated-image-avatar-c1a70465-0c3c-4b84-9d23-1673ca8dd8a1 LDAP-150 Open

Unable to create userPageName with space

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-7c2adcfa-43ac-4233-bf58-93d975b32778 Shane Arnold created this issue on 11/Dec/24 07:33
 
Summary: Unable to create page name with space
Issue Type: cid:jira-generated-image-avatar-c1a70465-0c3c-4b84-9d23-1673ca8dd8a1 Bug
Affects Versions: 9.15.5
Assignee: Unassigned
Attachments: image-2024-12-11-14-28-29-785.png, image-2024-12-11-14-30-57-245.png
Components: Authenticator
Created: 11/Dec/24 07:33
Priority: cid:jira-generated-image-static-minor-05f5edf2-21d8-4f75-bbcb-888ee506947e Minor
Reporter: Shane Arnold
Description:

xWiki supports spaces in page names for users. However when specifying a userPageName format in xwiki.cfg, this does not seem possible.

xWiki-created user page URL;
43016_image-2024-12-11-14-28-29-785.png

xWiki-created user xwikidoc entry;

43015_image-2024-12-11-14-30-57-245.png

I have attempted defining as follows

xwiki.authentication.ldap.userPageName=${ldap.givenName} ${ldap.sn}

However the space is removed upon page creation. I have also attempted enclosing the parameter with quotes, double quotes and replacing the space with %20 as experiments, but they are all taken literally.

I believe the authenticator should be able to create user pages with spaces, as this is valid in xWiki for users.

 
 

1 update

 
cid:jira-generated-image-avatar-7c2adcfa-43ac-4233-bf58-93d975b32778 Changes by Shane Arnold on 11/Dec/24 07:35
 
Summary: Unable to create page name userPageName with space