Modify ↓
Opened 11 years ago
Closed 11 years ago
#11320 closed defect (fixed)
baseurl in stats page doesn't use trac's configuration
Reported by: | Owned by: | Roberto Longobardi | |
---|---|---|---|
Priority: | normal | Component: | TestManagerForTracPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
The baseurl passed to the page template should come from trac.baseurl in trac.ini rather than the request's baseurl.
This causes problems in environments where the trac instance is reverse proxied.
Attachments (1)
Change History (4)
comment:1 Changed 11 years ago by
Status: | new → accepted |
---|
comment:2 Changed 11 years ago by
Released with 1.8.1: https://sourceforge.net/projects/testman4trac/files
comment:3 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
Hi Lee, I've checked the base Trac code and it looks like using the request's href(...) is the right thing to do.
I've modified the stats code to do that and you can find in attachment the patched version. Build it on top of 1.7.3.
Anyway, if you run your Trac instance behind a reverse proxy, you may try raising the corresponding flag in trac.ini, as described here:
Please, could you try the patch and tell me if this solves the issue?
Thanks, ciao, Roberto