mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #32294
[Bug 1534398] Re: Clean URLs created during user account creation, do not respect the "nousernames" setting
Reported in 15.04.3. I haven't replicated it yet (due to the difficulty
of setting up clean URLs) but I can see the problem in the code, and
that problem is still present in 16.04dev.
** Changed in: mahara
Milestone: None => 16.04.0
** Also affects: mahara/1.10
Importance: Undecided
Status: New
** Also affects: mahara/15.10
Importance: Undecided
Status: New
** Also affects: mahara/16.04
Importance: Medium
Status: Triaged
** Also affects: mahara/15.04
Importance: Undecided
Status: New
** Changed in: mahara/15.10
Status: New => Triaged
** Changed in: mahara/15.04
Status: New => Triaged
** Changed in: mahara/1.10
Status: New => Triaged
** Changed in: mahara/15.10
Importance: Undecided => Medium
** Changed in: mahara/15.04
Importance: Undecided => Medium
** Changed in: mahara/1.10
Importance: Undecided => Medium
--
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:
Triaged
Status in Mahara 1.10 series:
Triaged
Status in Mahara 15.04 series:
Triaged
Status in Mahara 15.10 series:
Triaged
Status in Mahara 16.04 series:
Triaged
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