Modify ↓
#1001 closed defect (fixed)
"htdocs_location" shoudn't be prepended when URL starts with a Slash, or a Scheme
Reported by: | clynx | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | 0.8.1 |
Component: | general | Version: | 0.8 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
When Configuring am header_logo on another Server where the Address starts with http|https the "htdocs_location" Configuration Value if prepended
The URL gets the following for Example: /trac/http://domain.tdl/logo.png
It would be nice when Trac would check if the Address Starts with a Slash, or a Scheme, and if is exists not to prepend "htdocs_location"
Attachments (0)
Change History (2)
comment:1 by , 20 years ago
comment:2 by , 20 years ago
Milestone: | → 0.8.1 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Version: | devel → 0.8 |
Note:
See TracTickets
for help on using tickets.
That should work. At least for your example.
core.py, line 241:
I see how this would not work for https://, which should be fixed.