Skip to content
Permalink
Browse files

find redirected/301 doc url

  • Loading branch information
rduivenvoorde committed Dec 11, 2017
1 parent 8302fc3 commit 50aa6fea9166c325bc391935042bec416795b98b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgshelp.cpp
@@ -160,7 +160,7 @@ bool QgsHelp::urlExists( const QString &url )
if ( socket.waitForReadyRead() )
{
QByteArray bytes = socket.readAll();
if ( bytes.contains( "200 OK" ) || bytes.contains( "302 Found" ) )
if ( bytes.contains( "200 OK" ) || bytes.contains( "302 Found" ) || bytes.contains( "301 Moved" ) )
{
return true;
}

0 comments on commit 50aa6fe

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