Clean URLs created during user account creation, do not respect the "nousernames" setting
Bug #1534398 reported by
Aaron Wells
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned | ||
1.10 |
Won't Fix
|
Medium
|
Unassigned | ||
15.04 |
Fix Released
|
Medium
|
Unassigned | ||
15.10 |
Fix Released
|
Medium
|
Unassigned | ||
16.04 |
Fix Released
|
Medium
|
Unassigned | ||
16.10 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
See: https:/
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_
- User->create() in auth/user.php
- create_user() in lib/user.php
information type: | Public → Public Security |
Changed in mahara: | |
milestone: | 16.04.1 → none |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.