Skip to content

Commit

Permalink
Merge pull request #7106 from m-kuhn/encodedUrl3
Browse files Browse the repository at this point in the history
Assume URL already encoded in web view widget
  • Loading branch information
m-kuhn authored May 31, 2018
2 parents 612d61d + 744a42f commit 4752b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsexternalresourcewidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ void QgsExternalResourceWidget::loadDocument( const QString &path )
#ifdef WITH_QTWEBKIT
if ( mDocumentViewerContent == Web )
{
mWebView->setUrl( QUrl( resolvedPath ) );
mWebView->setUrl( QUrl::fromEncoded( resolvedPath.toUtf8() ) );
}
#endif

Expand Down

0 comments on commit 4752b99

Please sign in to comment.