mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-31 01:50:47 +03:00
Allow all characters when checking server input
So IDNs are not rejected. Invalid server names will be caught later.
This commit is contained in:
parent
bb6a57644c
commit
bd31726f2f
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ RegisterPage::RegisterPage(QWidget *parent)
|
||||||
|
|
||||||
server_input_ = new TextField();
|
server_input_ = new TextField();
|
||||||
server_input_->setLabel(tr("Homeserver"));
|
server_input_->setLabel(tr("Homeserver"));
|
||||||
server_input_->setRegexp(QRegularExpression("[a-z0-9.-]+"));
|
server_input_->setRegexp(QRegularExpression(".+"));
|
||||||
server_input_->setToolTip(
|
server_input_->setToolTip(
|
||||||
tr("A server that allows registration. Since matrix is decentralized, you need to first "
|
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."));
|
"find a server you can register on or host your own."));
|
||||||
|
|
Loading…
Reference in a new issue