Skip to content

Commit 50aa6fe

Browse files
committed
find redirected/301 doc url
1 parent 8302fc3 commit 50aa6fe

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)