We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 7019a8c commit ad3efc0Copy full SHA for ad3efc0
src/providers/wms/qgswmscapabilities.cpp
@@ -1908,8 +1908,8 @@ bool QgsWmsCapabilitiesDownload::downloadCapabilities()
1908
1909
QString url = mBaseUrl;
1910
QgsDebugMsg( "url = " + url );
1911
- if ( !url.contains( "SERVICE=WMTS" ) &&
1912
- !url.contains( "/WMTSCapabilities.xml" ) )
+ if ( !url.contains( "SERVICE=WMTS", Qt::CaseInsensitive ) &&
+ !url.contains( "/WMTSCapabilities.xml", Qt::CaseInsensitive ) )
1913
{
1914
url += "SERVICE=WMS&REQUEST=GetCapabilities";
1915
}
0 commit comments