Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
956826f4
Commit
956826f4
authored
Sep 30, 2005
by
Leigh B. Stoller
Browse files
Do not allow - in usernames; it breaks things!
parent
0108ab75
Changes
1
Hide whitespace changes
Inline
Side-by-side
sql/database-fill.sql
View file @
956826f4
...
...
@@ -539,7 +539,7 @@ REPLACE INTO table_regex VALUES ('os_info','osname','text','regex','^[-\\w\\.+]+
REPLACE
INTO
table_regex
VALUES
(
'projects'
,
'newpid'
,
'text'
,
'regex'
,
'^[a-zA-Z][-a-zA-Z0-9]+$'
,
2
,
12
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'projects'
,
'pid'
,
'text'
,
'regex'
,
'^[-
\\
w]+$'
,
2
,
12
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'reserved'
,
'vname'
,
'text'
,
'redirect'
,
'virt_nodes:vname'
,
1
,
32
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'users'
,
'uid'
,
'text'
,
'regex'
,
'^[a-zA-Z][
-
\\
w]+$'
,
2
,
8
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'users'
,
'uid'
,
'text'
,
'regex'
,
'^[a-zA-Z][
\\
w]+$'
,
2
,
8
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'users'
,
'usr_phone'
,
'text'
,
'regex'
,
'^[-
\\
d
\\
(
\\
)
\\
+
\\
.x ]+$'
,
7
,
64
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'users'
,
'usr_name'
,
'text'
,
'regex'
,
'^[-
\\
w
\\
. ]+$'
,
4
,
64
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'users'
,
'usr_email'
,
'text'
,
'regex'
,
'^([-
\\
w
\\
+
\\
.]+)
\\
@([-
\\
w
\\
.]+)$'
,
3
,
64
,
NULL
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment