Skip to content

Commit 5477444

Browse files
authored
Merge pull request #5844 from rduivenvoorde/docs_moved
find redirected/301 doc url
2 parents 6b73f78 + 50aa6fe commit 5477444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/qgshelp.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ bool QgsHelp::urlExists( const QString &url )
160160
if ( socket.waitForReadyRead() )
161161
{
162162
QByteArray bytes = socket.readAll();
163-
if ( bytes.contains( "200 OK" ) || bytes.contains( "302 Found" ) )
163+
if ( bytes.contains( "200 OK" ) || bytes.contains( "302 Found" ) || bytes.contains( "301 Moved" ) )
164164
{
165165
return true;
166166
}

0 commit comments

Comments
 (0)