Edgewall Software
Modify

Opened 8 years ago

Closed 14 months ago

Last modified 4 months 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:
Release Notes:
API 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 Changed 8 years ago by dimitri008@…

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 Changed 8 years ago by Christian Boos

Keywords: environment login added
Milestone: 0.11.1

For now, added a caveat in TracEnvironment@31.

comment:3 Changed 20 months ago by Ryan J Ollos

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

comment:4 Changed 14 months ago by Ryan J Ollos

Owner: Jonas Borgström deleted

comment:5 Changed 14 months ago by Jun Omae

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 Changed 14 months ago by Jun Omae

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 Changed 4 months ago by Ryan J Ollos

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.