Skip to content
Snippets Groups Projects
Commit bd31726f authored by Callum Brown's avatar Callum Brown
Browse files

Allow all characters when checking server input

So IDNs are not rejected. Invalid server names will be caught later.
parent bb6a5764
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
......@@ -94,7 +94,7 @@ RegisterPage::RegisterPage(QWidget *parent)
server_input_ = new TextField();
server_input_->setLabel(tr("Homeserver"));
server_input_->setRegexp(QRegularExpression("[a-z0-9.-]+"));
server_input_->setRegexp(QRegularExpression(".+"));
server_input_->setToolTip(
tr("A server that allows registration. Since matrix is decentralized, you need to first "
"find a server you can register on or host your own."));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment