[index] Return error if no format is specified when requesting a bridge
This commit is contained in:
parent
1696aee212
commit
b4c6aa41a7
1 changed files with 2 additions and 1 deletions
|
@ -134,7 +134,8 @@ try {
|
||||||
$bridge = substr($bridge, 0, $pos);
|
$bridge = substr($bridge, 0, $pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
$format = filter_input(INPUT_GET, 'format');
|
$format = filter_input(INPUT_GET, 'format')
|
||||||
|
or returnClientError('You must specify a format!');
|
||||||
|
|
||||||
// DEPRECATED: 'nameFormat' scheme is replaced by 'name' in format parameter values
|
// DEPRECATED: 'nameFormat' scheme is replaced by 'name' in format parameter values
|
||||||
// this is to keep compatibility until futher complete removal
|
// this is to keep compatibility until futher complete removal
|
||||||
|
|
Loading…
Reference in a new issue