forked from qt-creator/qt-creator
GitLab: Allow localhost for server
Change-Id: I026f6a72c9eb0b377319fca847062885c666ed4a Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -57,7 +57,7 @@ static bool hostValid(const QString &host)
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return dn.match(host).hasMatch();
|
||||
return (host == "localhost") || dn.match(host).hasMatch();
|
||||
}
|
||||
|
||||
GitLabServerWidget::GitLabServerWidget(Mode m, QWidget *parent)
|
||||
|
||||
Reference in New Issue
Block a user