I have a user with these custom capabilities defined:
groucho,201910,202001
I’m trying to send the user to a welcome page based on custom capabilities:
https://comedytradeschool.com/%%current_user_ccaps%%-login
So he should end up on this page:
https://comedytradeschool.com/202001-login/
But when I login I get sent to:
https://comedytradeschool.com/groucho-201910-202001-login
I tried configuring the user’s custom capabilities with spaces after the commas but they get replaced with underscores:
groucho,_201910,_202001
I tried delimiting the ccaps with hyphens but any non alphanumeric character gets replaced with an underscore. This only happens in the Custom Capabilities field on the edit user page.
I’m really puzzled by this. Thanks.