Skip to content

Commit

Permalink
Adjust default redirect policy of requests created through QgsNetwork…
Browse files Browse the repository at this point in the history
…AccessManager to match Qt6 behavior
  • Loading branch information
nirvn authored and nyalldawson committed Jan 24, 2025
1 parent 5caa8db commit 5a4489c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/network/qgsnetworkaccessmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ QgsNetworkAccessManager::QgsNetworkAccessManager( QObject *parent )
, mSslErrorHandlerSemaphore( 1 )
, mAuthRequestHandlerSemaphore( 1 )
{
setRedirectPolicy( QNetworkRequest::NoLessSafeRedirectPolicy );
setProxyFactory( new QgsNetworkProxyFactory() );
setCookieJar( new QgsNetworkCookieJar( this ) );
enableStrictTransportSecurityStore( true );
Expand Down

0 comments on commit 5a4489c

Please sign in to comment.