Hello Massimo,

Just a quick question, have you got the confirmation if sending user + 
password directly in the URL is working on basic auth mode?

I have added the following on my controller :

if request.function == 'ping':
     auth.settings.allow_basic_login = True

@auth.requires_login()
def ping():
   return dict()

and i am trying to access this page launching the following URL :
http://jcouelier%40gmail.com:<password escaped>@domain:port/URL

But i still obtain the login page 




Le jeudi 31 décembre 2009 03:30:40 UTC+1, mdipierro a écrit :
>
> No but
>
> http://user%40mail.com <http://u...@mail.com/>:password@domain:port/url
>
> may work %40 is the @ escaped. You also have to escape the password.
>
>
> On Dec 30, 2009, at 5:26 PM, Alex Fanjul wrote:
>
> http://u...@mail.com:password@domain:port/url
>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to