mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
Merge pull request #31076 from elpaso/pg_raster_authcfg
Accept authcfg with or without quotes
This commit is contained in:
commit
f98b364da6
@ -272,7 +272,7 @@ QString QgsGdalProvider::dataSourceUri( bool expandAuthConfig ) const
|
||||
{
|
||||
QString uri( QgsDataProvider::dataSourceUri() );
|
||||
// Check for authcfg
|
||||
QRegularExpression authcfgRe( " authcfg='([^']+)'" );
|
||||
QRegularExpression authcfgRe( R"raw(authcfg='?([^'\s]+)'?)raw" );
|
||||
QRegularExpressionMatch match;
|
||||
if ( uri.contains( authcfgRe, &match ) )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user