mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #38494
[Bug 1534398] Re: Clean URLs created during user account creation, do not respect the "nousernames" setting
** Changed in: mahara/15.04
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1534398
Title:
Clean URLs created during user account creation, do not respect the
"nousernames" setting
Status in Mahara:
Fix Committed
Status in Mahara 1.10 series:
Won't Fix
Status in Mahara 15.04 series:
Fix Committed
Status in Mahara 15.10 series:
In Progress
Status in Mahara 16.04 series:
In Progress
Status in Mahara 16.10 series:
Fix Committed
Bug description:
See: https://mahara.org/interaction/forum/topic.php?id=7479
If you activate the "Never display usernames" site setting, and turn
on clean URLs, the clean URL for new users' profile pages will still
contain their username.
If you do "regerenate clean URLs", however, the newly created clean
URLs will *not* have the usernames.
This is because the method regenerateurls_submit() in cleanurls.php
respects the $CFG->nousernames setting, but the other places that
generate clean URLs on account creation do not:
- User->create() in auth/user.php
- create_user() in lib/user.php
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1534398/+subscriptions
References