#1205: /login redirect fails with SecureResource
------------------------+---------------------------------------------------
 Reporter:  tic         |       Owner:  anonymous
     Type:  defect      |      Status:  new      
 Priority:  normal      |   Milestone:           
Component:  unassigned  |     Version:  trunk    
 Severity:  major       |    Keywords:           
------------------------+---------------------------------------------------
 The setup:
 A system running FastCGI w/ the dispatcher (changing both request.path and
 request.object_path for virtual_path_filter.prefix) described in #1199

 Standard quickstarted application, with a controller inheriting both from
 controllers.Controller and identity.SecureResource, with a requires =
 identity.not_anonymous(), mounted at, say, foo:

 {{{
 class Foo(controllers.Controller, identity.SecureResource):
     requires = identity.not_anonymous()

     @expose
     def index(self):
         return "Hello, world!"

 class Main(controllers.RootController):
     foo = FooController()
 }}}

 Now, go to http://domain.tld/foo. You won't see the resource and instead
 be asked to login. When submitting the form, an internal failure occurs.
 (see attachment:failure-on-redirect.txt)

 Manual login from http://domain.tld/login works fine.

-- 
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1205>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-tickets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to