[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2299: WUI links to pages using configured port

Tahoe-LAFS trac at tahoe-lafs.org
Fri Sep 19 21:50:05 UTC 2014


#2299: WUI links to pages using configured port
-----------------------------------+-----------------------
     Reporter:  dsoprea            |      Owner:
         Type:  defect             |     Status:  new
     Priority:  normal             |  Milestone:  undecided
    Component:  code-frontend-web  |    Version:  1.10.0
   Resolution:                     |   Keywords:
Launchpad Bug:                     |
-----------------------------------+-----------------------
Changes (by warner):

 * component:  website => code-frontend-web


Comment:

 Updating component (the "website" component is actually for https://tahoe-
 lafs.org, but "code-frontend-web" is for the WUI).

 Hrm, I thought we'd fixed all of the href targets and form/button targets
 to use relative URLs. Originally there were lots of absolute URLs (which
 caused exactly this problem: we had some AllMyData servers that basically
 reverse-proxied requests into a localhost:3456 URL, and every once in a
 while the internal host+port would leak). I remember that some of the
 absolute URLs were not easy to fix (but I don't remember the reaons right
 now).

 Nothing should be getting updated with JS.. it should all be the
 responsiblity of the HTML-generating code in
 src/allmydata/web/directory.py .

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2299#comment:1>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list