Nominatim/lib-php
Sarah Hoffmann fef1bbb1a7 always use object type for details keywords
When name and address is empty, the keywords field in the response
of the details API would be an array because that is what PHP's
json_encode defaults to with empty array(). This default can only
be changed globally per json_encode call and that might cause
unintended colleteral damage. Work around the issue by making
name and address an empty array instead of keywords.

Fixes #2329.
2021-05-17 16:36:32 +02:00
..
admin boilerplate for PHP code of tokenizer 2021-04-30 11:31:52 +02:00
migration Errors fixes, Cleaning code, Improvement and addition of tests 2021-03-26 01:53:33 +01:00
template always use object type for details keywords 2021-05-17 16:36:32 +02:00
tokenizer add PHP part for new ICU-base tokenizer 2021-05-05 10:15:27 +02:00
website feat: Added reverse-only-search validation 2021-05-14 02:36:21 +05:30
AddressDetails.php typelabel value is already lowercased 2021-05-12 19:16:51 +02:00
ClassTypes.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
cmd.php remove PHP code for transition functions 2021-04-16 17:28:51 +02:00
DatabaseError.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
DB.php port check-database function to python 2021-02-18 17:32:30 +01:00
DebugHtml.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
DebugNone.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
dotenv_loader.php introduce constant for configuration directory 2021-02-09 18:45:45 +01:00
Geocode.php move tokenization in query into tokenizer 2021-04-30 17:41:08 +02:00
init-cmd.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
init-website.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
init.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
lib.php Add array_key_last function for PHP <7.3 2021-05-13 16:42:22 +02:00
log.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
output.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
ParameterParser.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
Phrase.php move tokenization in query into tokenizer 2021-04-30 17:41:08 +02:00
PlaceLookup.php remove support for AUX housenumber tables 2021-04-30 10:08:29 +02:00
Result.php remove support for AUX housenumber tables 2021-04-30 10:08:29 +02:00
ReverseGeocode.php reverse: do not prefer interpolations over closer housenumbers 2021-03-15 10:50:04 +01:00
SearchContext.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
SearchDescription.php remove support for AUX housenumber tables 2021-04-30 10:08:29 +02:00
setup_functions.php remove PHP code for transition functions 2021-04-16 17:28:51 +02:00
Shell.php move import-data option to native python 2021-02-25 18:42:54 +01:00
SpecialSearchOperator.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
Status.php correctly catch the exception when import date is missing 2021-05-06 16:27:42 +02:00
TokenCountry.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
TokenHousenumber.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
TokenList.php move tokenization in query into tokenizer 2021-04-30 17:41:08 +02:00
TokenPostcode.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
TokenSpecialTerm.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
TokenWord.php rename lib to lib-php 2021-02-09 11:52:07 +01:00