Rest-API not using tracker/web setting from config.ini
"John P. Rouillard" <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all: Ralf and anybody else using the rest interface, it looks like the rest interface is generating the base url as: http://HTTP_HOST/TRACKER_NAME/rest in the __init__ routine of RestfulInstance. Ao the links returned in the json return payload is always an http url even if you are only using https. If your tracker is not off the root of your web server (e.g. https://host/trackers/demo rather than https://host/demo), I don't see how this will work. I think the right thing to do here is is to use the value of: [tracker] web = url_to_tracker in config.ini for the tracker. Ralf can you confirm this and maybe fix it? -- -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions.