Oh boy, lack of sleep made me get my examples mixed up a little.

Obviously to any half awake mind, the 'Neil' with an L and the 'NeiI' 
with an i example is irrelevant.

However, a 'neil' 'Neil' situation could sitll arise, with a per user 
slug prone to problems in that case.

Lesson for today : sleep as much as you need to before attemping to think ;)

Mike

[EMAIL PROTECTED] wrote:
> Hi all,
> checkout/order
> While I was writing test cases for my upcoming website, I noticed I that
> the contrib.auth module will happily make a user called Mike and user
> called mike and treat them as two separate users.
>
> Are there reasons for this? I patched my installation of django so that
> usernames were not case sensitive. My reasoning was that someone could
> register as Neil (lowercase L at the end) and build up a reputation on
> the site. Then someone could register as NeiI (uppercase i at the end)
> and impersonate the first user, as in many fonts the glyphs for
> lowercase L and uppercase i are identical.
>
> Also, giving users a slug using the standard django slugify becomes
> problematic if you have Neil and neil. Which one does the slug "neil"
> refer to?
>
> Cheers,
>
> MikeH
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to