Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The landing page implements a system to map URLs to project using hashes. For the legacy services (WMS, WFS etc.) this information has to be passed in the environment `QGIS_PROJECT_FILE` and an I/O filter takes care of setting the environment variable. The problem is when using the rest of the API after a project containing bad layers has been browsed because it remains the environment and it raises immediately an exception too early in the handleRequest server's processing pipeline. By restoring the original `QGIS_PROJECT_FILE` at the end of the request, this PR fixes the issue.
- Loading branch information