Modify ↓
Opened 13 years ago
Closed 7 years ago
#8976 closed defect (wontfix)
TracImageSVG does not work with port forwarding (ssh)
Reported by: | Markus Kohler | Owned by: | Richard Liao |
---|---|---|---|
Priority: | normal | Component: | TracImageSvgMacro |
Severity: | normal | Keywords: | port forwarding, ssh |
Cc: | Trac Release: | 0.11 |
Description
Having setup port forwarding of localhost:8080 to some remote's 80 port, imagesvg did not work because localhost:8080 was wrongly replaced by the firewall's/gateway's URL. The provided patch fixes this issue, so it works with and without port forwarding:
--- web_ui.py-old 2011-06-22 22:53:43.270355531 +0200 +++ web_ui.py 2011-06-22 22:36:40.520862516 +0200 @@ -150,7 +150,7 @@
dimensions = 'width="100%" height="100%"'
data = {
- "base_url": self.env.base_url,
+ "base_url": formatter.href(),
"module": module, "id": id, "file": file,
(sorry, I seem not to be allowed to submit attachments)
Attachments (0)
Note: See
TracTickets for help on using
tickets.
Plugin is deprecated.