Edgewall Software
Modify

Opened 17 years ago

Closed 9 years ago

Last modified 4 years ago

#7163 closed defect (cantfix)

Spaces in project environment names kills authentication

Reported by: dimitri008@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11b2
Severity: major Keywords: environment login
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

If a trac project environment is created with a space in it's name, authentication via http (and AccountManager plugin as far as I've seen) seems to disable logging in by returning

Missing or invalid form token. Do you have cookies enabled?

after clicking login.

Authentication method: Basic HTTP authentication with htpasswd file

Attachments (0)

Change History (7)

comment:1 by dimitri008@…, 17 years ago

That specific error only appears when AccountManager is used. For HTTP authentication, it simply redirects the user to the main page without logging them in.

comment:2 by Christian Boos, 17 years ago

Keywords: environment login added
Milestone: 0.11.1

For now, added a caveat in TracEnvironment@31.

comment:3 by Ryan J Ollos, 10 years ago

Milestone: next-minor-0.12.xnext-stable-1.0.x

comment:4 by Ryan J Ollos, 10 years ago

Owner: Jonas Borgström removed

comment:5 by Jun Omae, 9 years ago

Basic authentication and creating new ticket works well with /path/to/trac env using Firefox 38, Chrome 44 beta and IE 8 on 0.12-stable and 1.0-stable.

192.168.11.43 - - [16/Jun/2015 22:16:08] "GET /trac%20env/login HTTP/1.1" 401 -
192.168.11.43 - - [16/Jun/2015 22:16:08] "GET /trac%20env/login HTTP/1.1" 302 -
192.168.11.43 - - [16/Jun/2015 22:16:08] "GET /trac%20env HTTP/1.1" 200 -
...
192.168.11.43 - - [16/Jun/2015 22:16:17] "POST /trac%20env/newticket HTTP/1.1" 303 -
192.168.11.43 - - [16/Jun/2015 22:16:17] "GET /trac%20env/ticket/1 HTTP/1.1" 200 -

comment:6 by Jun Omae, 9 years ago

Milestone: next-stable-1.0.x
Resolution: cantfix
Status: newclosed

The comment:1 said that th:AccountManagerPlugin leads this issue. So, that's a PluginIssue. Closing as cantfix.

comment:7 by Ryan J Ollos, 9 years ago

Updated documentation in TracEnvironment@65.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.