Opened 11 years ago

Closed 5 years ago

# Does this work with .10dev (svn)

Reported by: Owned by: vinay nik4536 normal HttpLoginViaRedirectPatch normal vinay@…, jorge.vargas+trac@… 0.10

### Description

Since I run a production server, I don't have the ability to take down the system and patch it and see if it works. I would like to know if this works with .10dev. If not, is there a solution that does?

If I do get the chance to test it against a .10dev trac installation, I'll update the ticket here to reflect that.

### comment:1 Changed 11 years ago by James Mills

Hi,

I've attached a patch to make this work with 0.10

Could someone please try to make this also work with the AuthFormPlugin :)

Patch for 0.10

### comment:2 Changed 11 years ago by anonymous

I just try out this patch agains 0.10.3 with tracd

I believe the standalone.py file doesn't needs to be patch anymore with standalone.diff since the split in standalone.py is taking out the hardcoded comparison agains /login

but for some reason the redirect is not working, here is my tracd output in debug mode

localhost.domain - - [06/Jan/2007 13:55:43] "GET /trac/ HTTP/1.1" 403 -
localhost.domain - - [06/Jan/2007 13:55:59] "GET /trac/login/timeline HTTP/1.1" 401 -
localhost.domain - - [06/Jan/2007 13:55:59] "GET /trac/login/timeline HTTP/1.1" 404 -


as you can see there is no trace of self.env.log.debug("req.path_info = %s" % req.path_info) so I believe it's not getting process correctly.

Patch for 0.10.3

### comment:4 Changed 10 years ago by anonymous

I patched HttpLoginViaRedirectPatch with attachment:ticket:655:httploginviaredirectpatch-0.10.patch but it does not work with trac 0.10.3. I have attached (attachment:ticket:655:auth.diff) a version of HttpLoginViaRedirectPatch that works.

### comment:5 Changed 5 years ago by Ryan J Ollos

Resolution: → wontfix new → closed

Closing since this patch is for 0.9/0.10, and both are long dead now.

### Modify Ticket

Change Properties