stable

Clone or download

Read-only

request #11026: API Explorer can be broken when Tuleap is behind a reverse proxy

Since commit 64cba489d6753fc2f7c6a96dbe07a0877a29150d, Restler tries to determine the base URL by itself which is not always a success. Tuleap encounters the issue now because the Restler class method has slightly changed (Restler::setBaseUrl → Restler::setBaseUrls) with the upgrade. Interestingly, the code does not crash with a fatal error because the Restler class defines __call. Change-Id: If4ae581492a47182ab62fc8616ba6d69cb6462a7

Modified Files

Name
M src/www/api/index.php +5 −3 Go to diff View file