#7163 closed defect (cantfix)
Spaces in project environment names kills authentication
| Reported by: | 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 , 18 years ago
comment:2 by , 18 years ago
| Keywords: | environment login added |
|---|---|
| Milestone: | → 0.11.1 |
For now, added a caveat in TracEnvironment@31.
comment:3 by , 11 years ago
| Milestone: | next-minor-0.12.x → next-stable-1.0.x |
|---|
comment:4 by , 10 years ago
| Owner: | removed |
|---|
comment:5 by , 10 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 , 10 years ago
| Milestone: | next-stable-1.0.x |
|---|---|
| Resolution: | → cantfix |
| Status: | new → closed |
The comment:1 said that th:AccountManagerPlugin leads this issue. So, that's a PluginIssue. Closing as cantfix.



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.