mirror of
https://github.com/go-vikunja/app
synced 2024-06-14 08:24:18 +00:00
Fixed url regex (#11)
This commit is contained in:
parent
e68944116c
commit
b87a9a4633
|
@ -8,7 +8,7 @@ class LoginPage extends StatefulWidget {
|
|||
}
|
||||
|
||||
final RegExp _url = new RegExp(
|
||||
r'https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)');
|
||||
r'https?:\/\/[a-zA-Z0-9.]+(:[0-9]+)?');
|
||||
|
||||
class _LoginPageState extends State<LoginPage> {
|
||||
final _formKey = GlobalKey<FormState>();
|
||||
|
|
Loading…
Reference in New Issue
Block a user