Modify

Opened 6 years ago

Closed 5 years ago

#4084 closed defect (invalid)

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

Reported by: kekc.reg@… Owned by: pedro
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 5 years ago by techtonik

  • Resolution set to invalid
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Action
as closed The owner will remain pedro.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.