Report bad request if no valid action was specified.
This commit is contained in:
parent
3b8453806e
commit
debd083735
1 changed files with 4 additions and 0 deletions
|
@ -176,6 +176,10 @@ else if(isset($_REQUEST['q'])){ // read a record
|
||||||
}
|
}
|
||||||
echo $out;
|
echo $out;
|
||||||
}
|
}
|
||||||
|
else{
|
||||||
|
header('HTTP/1.0 400 Bad Request');
|
||||||
|
die("400 Bad Request: No valid action specified.");
|
||||||
|
}
|
||||||
|
|
||||||
function parse_llHTTPRequest_headers(){
|
function parse_llHTTPRequest_headers(){
|
||||||
$position_array = explode(', ',substr($_SERVER['HTTP_X_SECONDLIFE_LOCAL_POSITION'],1,-1));
|
$position_array = explode(', ',substr($_SERVER['HTTP_X_SECONDLIFE_LOCAL_POSITION'],1,-1));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue