Skip to content

Commit

Permalink
find redirected/301 doc url
Browse files Browse the repository at this point in the history
  • Loading branch information
rduivenvoorde committed Dec 11, 2017
1 parent 8302fc3 commit 50aa6fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgshelp.cpp
Original file line number Diff line number Diff line change
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 50aa6fe

Please sign in to comment.