mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
introduce accessor function for URL parameter
These functions take care of type conversion and check that the parameters contain legal values. The API now returns a Bad Request error if the format is wrong.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
require_once('init.php');
|
||||
require_once('website.php');
|
||||
|
||||
if (CONST_NoAccessControl)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user