On Mon, Aug 3, 2009 at 11:27 AM, Mirat Bayrak<miratcanbay...@gmail.com> wrote:
> Hi i have an account system that you have to validate your email after you
> created an account. My validation url is lik :
> www.foo.com/account/confirm/username/keyyyyyyyyyyy
>
> But there is a problem, sometimes username contains non html safe chars for
> example : âlice, or süleyman cant go that adress...
>
> So, what should i do? should i restrict usuable characters on usernames or
> is there another solution?
>

Use user_id instead of username? Encode username with base64? URLs can
contain UTF8 characters if properly encoded, so i dont think this is a
problem.

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to