Skip to content
GitLab
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
68e7e12a
Commit
68e7e12a
authored
Nov 02, 2001
by
Leigh B. Stoller
Browse files
Fix path ereg so that : is allowed (ip:/path).
parent
799744af
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/newosid.php3
View file @
68e7e12a
...
...
@@ -58,7 +58,7 @@ if (isset($os_path)) {
unset
(
$os_path
);
}
else
{
if
(
!
ereg
(
"^[-_a-zA-Z0-9\/\.]+$"
,
$os_path
))
{
if
(
!
ereg
(
"^[-_a-zA-Z0-9\/\.
:
]+$"
,
$os_path
))
{
USERERROR
(
"The path contains invalid characters!"
,
1
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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