[openstreetmap/openstreetmap-website] Add tag key and value max length to capabilities API call (#1593)

Shaun McDonald notifications at github.com
Wed Jul 26 21:39:01 UTC 2017

The history of the limit is from the MySQL days, and it was decided that keeping the limit would be best for consistency, and also to prevent people from writing an essay in a key/value pair. 

It's reasonable to hard code this value in the apps as it's not a config that will very unlikely change, it's been the same value since probably the beginning of OSM, so the likelihood of it changing is low.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170726/0dc893d4/attachment.html>

More information about the rails-dev mailing list