Skip to content
Permalink
Browse files

Merge pull request #5844 from rduivenvoorde/docs_moved

find redirected/301 doc url
  • Loading branch information
alexbruy committed Dec 11, 2017
2 parents 6b73f78 + 50aa6fe commit 547744441244882ff41283c0200bae0fbda98def
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 5477444

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