Modify

Opened 8 years ago

Closed 8 years ago

#4084 closed defect (invalid)

server/trac/project/login page redirects to localhost/trac/project

Reported by: kekc.reg@… Owned by: Pedro Paixao
Priority: high Component: NoAnonymousPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

Description

1) Then I'm loged in and go to page server/trac/project/login enter my credentials, it redirects me to localhost/trac/project. Which is not accessible of course.

2) Then I logout, then point my browser to server/trac/project, it redirects me to server/trac/project/login. Then I enter my username/password it redirects me to localhost/trac/project. Which is not accessible.

3) Then I logout, it redirects me to server/trac/project/login, I enter my credentials, and it redirects me to server/trac/project. It's OK so.

4) This is similar to 2) Then I just start the browser (IE or Firefox), I'm loged out, so then I enter page server/trac/project, it redirects me to server/trac/project/login. Then I enter my login/password it redirects to localhost/trac/project. So I see page 404 in IE and empty page in FF. I need to enter server/trac/project to have an access.

I use these components: Apache 2.2.8 Trac 0.11.2 NoAnonymous 2.0 AccountManager 0.2.1dev-r4679 (AccountManagerAdminPage, AccountManager, HtPasswdStore, AccountModule, LoginModule enabled)

Notes: I must say, that then I disable NoAnonymous plugin, it's not reproducible, but.. It's reproducible with both PermRedirect and AuthRequired. So I think this problem somewhere in redirection functions. IMHO.

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by anatoly techtonik

Resolution: invalid
Status: newclosed

NoAnonymousPlugin uses standard API req.href.login() to redirect user to login form. source:noanonymousplugin/0.11/noanonymous/filter.py@HEAD#L29

So the bug is not from here. If you can reproduce it on Trac 0.11.5 I guess you need to try fill it against AccountManager, but most likely that this bug in Trac itself or in web-server config.

Closing as invalid here.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Pedro Paixao.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.