Skip to content

Commit

Permalink
Merge pull request #5844 from rduivenvoorde/docs_moved
Browse files Browse the repository at this point in the history
find redirected/301 doc url
  • Loading branch information
alexbruy committed Dec 11, 2017
2 parents 6b73f78 + 50aa6fe commit 5477444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgshelp.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5477444

Please sign in to comment.