Allow uppercase characters in machine id
This commit is contained in:
parent
6958240e3d
commit
c31826e656
@ -15,13 +15,13 @@ $APIS = [
|
||||
"lookup" => [
|
||||
"load" => "machine.php",
|
||||
"vars" => [
|
||||
"id" => "/^[0-9a-z]+$/"
|
||||
"id" => "/^[0-9a-zA-Z]+$/"
|
||||
]
|
||||
],
|
||||
"editmachine" => [
|
||||
"load" => "machine.php",
|
||||
"vars" => [
|
||||
"id" => "/^[0-9a-z]+$/",
|
||||
"id" => "/^[0-9a-zA-Z]+$/",
|
||||
"type (optional)" => "numeric",
|
||||
"model (optional)" => "string",
|
||||
"clientid (optional)" => "string",
|
||||
@ -52,7 +52,7 @@ $APIS = [
|
||||
"addevent" => [
|
||||
"load" => "addevent.php",
|
||||
"vars" => [
|
||||
"id" => "/^[0-9a-z]+$/",
|
||||
"id" => "/^[0-9a-zA-Z]+$/",
|
||||
"date" => "string",
|
||||
"event" => "string",
|
||||
"publicnotes (optional)" => "string",
|
||||
|
Loading…
x
Reference in New Issue
Block a user