Skip to content

Commit

Permalink
Assume URL already encoded in web view widget
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 29, 2018
1 parent b202d60 commit 744a42f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsexternalresourcewidget.cpp
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 744a42f

Please sign in to comment.