[openstreetmap/openstreetmap-website] Changeset tags exceed limit of 255 unicode codepoints (Issue #6350)

Tom Hughes notifications at github.com
Mon Aug 25 11:40:01 UTC 2025


tomhughes left a comment (openstreetmap/openstreetmap-website#6350)

I think that's extremely unlikely...

 While there may well be something going on that's not really a plausible explanation and even if it was it would be a bug in rails that we wouldn't be able to do anything about.

The validation is enforced here:

https://github.com/openstreetmap/openstreetmap-website/blob/26cd3671de354b44846d01496bbbffdc2b92bc4d/app/models/changeset_tag.rb#L18

which is using https://api.rubyonrails.org/classes/ActiveModel/Validations/HelperMethods.html#method-i-validates_length_of which mentions nothing about ignoring spaces.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6350#issuecomment-3219929735
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/6350/3219929735 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250825/048b46ab/attachment.htm>


More information about the rails-dev mailing list