Closed (won't fix)
Project:
Pathauto
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2009 at 20:08 UTC
Updated:
3 Oct 2015 at 18:20 UTC
Jump to comment: Most recent
Comments
Comment #1
dave reidThat's the path used by drupal core (user/x, user/x/edit, user/x/contact), so I don't think it warrants changing the default.
Comment #2
aren cambre commentedIn your example, x can only be a positive integer. Would user/arencambre conflict with user/1?
Comment #3
dave reidNo, not that I'm aware of.
Comment #4
aren cambre commentedI'll grant that there's more to this than just my alleged :-) bug, so changing to feature request to remove urgency.
Comment #5
dave reidI'm still not clear on if or what problem there is and why exactly this would need to be changed.
Comment #6
aren cambre commentedThe problem is the default path for a URL that refers to a single user is /users (plural).
Comment #7
dave reidAha, now that I understand, I see your point.
Comment #8
aren cambre commentedRead my mind. :-)
Comment #9
gregglesIt should also not be "user".
Comment #10
dave reid'people/[user:name]' ?
Comment #11
dave reidAnyone have any better ideas than 'people/[user:name]'?
Comment #12
michaelfavia commentedPeople is the plural of person, it just doesn't end in an "S". Doesn't really fix your issue just dislocates it by one :). "Person" is a pretty crappy substitute but it makes more semantic sense, especially with the new d7 UI referring the the user menus as "People". I say we steal the namespace before core lays claim to it ;).
Comment #13
klonos@gregless, #9. I have read the linked document -I believe you are referring to the 'Transliteration Problems' paragraph (?) Greg-, but it didn't make sense to me, sorry. Care to provide an example of this possible issue if using 'user'? Thanx in advance.
Comment #14
dave reidIf your pattern is user/[user:name], and I change my uid 100 account's user name to '1', then my alias is 'user/1', and now the admin can't load his account view page.
Comment #15
cainrus commentedHow do such a thing?
link: www.my-super-mega-site.org/profile
And this link will redirect the user to his personal profile, but in the address bar will still the same link(/profile)
i did not tested, but maybe redirection module with tokens can help? drupal/user/[user]
Comment #16
klonos@cainrus: this is a completely other issue. This one here is a feature request while yours is a support request. Please open a new issue for yours and avoid posting such.
@Dave, #14: perhaps then this is a security issue and we should forbid the use of numbers *alone* used for user names (in core I mean). In the module level, we can simply have a routine to check for such cases. Then we could:
- either forbid creation of such paths (throwing an error message saying that usernames should not start with numbers or if they do they should contain at least one letter or symbol).
- append a (customizable) character/string to such paths' user:name part (instead of ../user/1 it could be ../user/#1 or ../user/user1)
Comment #17
dave reidNo consensus by this point, so closing.