]> git.openstreetmap.org Git - nominatim.git/commit
Only accept underscores in category filters
authorItz-Agasta <rupamgolui69@gmail.com>
Sat, 15 Aug 2026 15:34:22 +0000 (21:04 +0530)
committerItz-Agasta <rupamgolui69@gmail.com>
Sat, 15 Aug 2026 15:34:22 +0000 (21:04 +0530)
commit52a073b71f9421ffff504e6f5a9fe702ead4779d
tree0c2488215ce104aa5940ddef7bf96378666773c1
parente6483d8a42cac7ea16e873e0730b338265d9fb81
Only accept underscores in category filters

The conversion from hyphens to underscores in the Lua code exists for
compatibility with OSM tags we have no influence over. The API can be
strict instead.
src/nominatim_api/types.py
test/python/api/test_api_types.py