Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
47220dba
Commit
47220dba
authored
Sep 26, 2013
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fix to urn regex.
parent
1fd2005b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
www/genihistory.php
www/genihistory.php
+2
-2
No files found.
www/genihistory.php
View file @
47220dba
...
...
@@ -111,11 +111,11 @@ if (1) {
if
(
preg_match
(
"/^\w+\-\w+\-\w+\-\w+\-\w+$/"
,
$searchfor
))
{
$clause
=
"
$clause
and a.slice_uuid='
$safe_searchfor
' "
;
}
elseif
(
preg_match
(
"/^urn:publicid:IDN\+[-\w\.]+\+slice\+[-\w]*$/"
,
elseif
(
preg_match
(
"/^urn:publicid:IDN\+[-\w\.
:
]+\+slice\+[-\w]*$/"
,
$searchfor
))
{
$clause
=
"
$clause
and a.slice_urn='
$safe_searchfor
' "
;
}
elseif
(
preg_match
(
"/^urn:publicid:IDN\+[-\w\.]+\+user\+[-\w]*$/"
,
elseif
(
preg_match
(
"/^urn:publicid:IDN\+[-\w\.
:
]+\+user\+[-\w]*$/"
,
$searchfor
))
{
$clause
=
"
$clause
and a.creator_urn='
$safe_searchfor
' "
;
}
...
...
Write
Preview
Markdown
is supported
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