Skip to content
Permalink
Browse files

Have a capabilities cache per hostname

Actually if I get
http://127.0.0.1/qgis?REQUEST=GetCapabilities&VERSION=1.1.0&SERVICE=WFS
then
http://localhost/qgis?REQUEST=GetCapabilities&VERSION=1.1.0&SERVICE=WFS
the onlineResource will be wrong in the second request...
  • Loading branch information
sbrunner committed May 29, 2016
1 parent 1b06324 commit 872cfb7825d8fd9a75df5d300b20d36e3e0b4ffa
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/server/qgswmsserver.cpp
@@ -159,6 +159,7 @@ void QgsWMSServer::executeRequest()
{
QStringList cacheKeyList;
cacheKeyList << ( getProjectSettings ? "projectSettings" : version );
cacheKeyList << getenv( "SERVER_NAME" );
bool cache = true;
#ifdef HAVE_SERVER_PYTHON_PLUGINS
cache = mAccessControl->fillCacheKey( cacheKeyList );

0 comments on commit 872cfb7

Please sign in to comment.
You can’t perform that action at this time.