-
-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/auth/awss3/core/qgsauthawss3method.cpp b/src/auth/awss3/core/qgsauthawss3method.cpp | ||
index 2248f3438cb..c76871443a0 100644 | ||
--- a/src/auth/awss3/core/qgsauthawss3method.cpp | ||
+++ b/src/auth/awss3/core/qgsauthawss3method.cpp | ||
@@ -118,7 +118,7 @@ bool QgsAuthAwsS3Method::updateNetworkRequest( QNetworkRequest &request, const Q | ||
const QByteArray signingKey = QMessageAuthenticationCode::hash( "aws4_request", | ||
QMessageAuthenticationCode::hash( "s3", | ||
QMessageAuthenticationCode::hash( region, | ||
- QMessageAuthenticationCode::hash( date, "AWS4" + password, | ||
+ QMessageAuthenticationCode::hash( date, QByteArray( "AWS4" + password ), | ||
QCryptographicHash::Sha256 ), | ||
QCryptographicHash::Sha256 ), | ||
QCryptographicHash::Sha256 ), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
diff --git a/src/providers/wcs/qgswcscapabilities.cpp b/src/providers/wcs/qgswcscapabilities.cpp | ||
index ca3418cb11f..0ddce374835 100644 | ||
--- a/src/providers/wcs/qgswcscapabilities.cpp | ||
+++ b/src/providers/wcs/qgswcscapabilities.cpp | ||
@@ -1312,12 +1312,12 @@ QgsWcsCoverageSummary *QgsWcsCapabilities::coverageSummary( QString const &ident | ||
{ | ||
if ( c->identifier == identifier ) | ||
{ | ||
- return c; | ||
+ return &(*c); | ||
} | ||
else | ||
{ | ||
// search sub coverages | ||
- QgsWcsCoverageSummary *subCoverage = coverageSummary( identifier, c ); | ||
+ QgsWcsCoverageSummary *subCoverage = coverageSummary( identifier, &(*c) ); | ||
if ( subCoverage ) | ||
{ | ||
return subCoverage; | ||
@@ -1343,7 +1343,7 @@ QList<QgsWcsCoverageSummary> QgsWcsCapabilities::coverageSummaries( QgsWcsCovera | ||
for ( QVector<QgsWcsCoverageSummary>::iterator c = parent->coverageSummary.begin(); c != parent->coverageSummary.end(); ++c ) | ||
{ | ||
list.append( *c ); | ||
- list.append( coverageSummaries( c ) ); | ||
+ list.append( coverageSummaries( &(*c) ) ); | ||
} | ||
return list; | ||
} |