Skip to content
Permalink
Browse files

DELETE ME - temporary debug

  • Loading branch information
m-kuhn committed Sep 27, 2017
1 parent 1eb26d8 commit ceb3aa576e1b48708f4af694754f741f10d4211b
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/wfs/qgswfsrequest.cpp
@@ -68,7 +68,7 @@ bool QgsWfsRequest::sendGET( const QUrl &url, bool synchronous, bool forceRefres
QString modifiedUrlString = modifiedUrl.toString();
// Qt5 does URL encoding from some reason (of the FILTER parameter for example)
modifiedUrlString = QUrl::fromPercentEncoding( modifiedUrlString.toUtf8() );
QgsDebugMsg( QString( "Get %1" ).arg( modifiedUrlString ) );
qWarning() << QString( "Get %1" ).arg( modifiedUrlString );
modifiedUrlString = modifiedUrlString.mid( QStringLiteral( "http://" ).size() );
QString args = modifiedUrlString.mid( modifiedUrlString.indexOf( '?' ) );
if ( modifiedUrlString.size() > 256 )
@@ -97,7 +97,7 @@ bool QgsWfsRequest::sendGET( const QUrl &url, bool synchronous, bool forceRefres
}
#endif
modifiedUrlString = modifiedUrlString.mid( 0, modifiedUrlString.indexOf( '?' ) ) + args;
QgsDebugMsg( QString( "Get %1 (after laundering)" ).arg( modifiedUrlString ) );
qWarning() << QString( "Get %1 (after laundering)" ).arg( modifiedUrlString );
modifiedUrl = QUrl::fromLocalFile( modifiedUrlString );
}

0 comments on commit ceb3aa5

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