[openstreetmap/openstreetmap-website] Respond with plaintext when user not found in changeset query (PR #4190)

Anton Khorev notifications at github.com
Sat Aug 19 17:23:45 UTC 2023


The response used to be of type xml with empty body, which is not valid xml.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/4190

-- Commit Summary --

  * Respond with plaintext when user not found in changeset query

-- File Changes --

    M app/controllers/api/changesets_controller.rb (2)
    M test/controllers/api/changesets_controller_test.rb (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/4190.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4190.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4190
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4190 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230819/b32594e6/attachment.htm>


More information about the rails-dev mailing list