<div style="display: flex; flex-wrap: wrap; white-space: pre-wrap; align-items: center; "><img height="20" width="20" style="border-radius:50%; margin-right: 4px;" decoding="async" src="https://avatars.githubusercontent.com/u/25708359?s=20&v=4" /><strong>deevroman</strong> created an issue <a href="https://github.com/openstreetmap/openstreetmap-website/issues/6096">(openstreetmap/openstreetmap-website#6096)</a></div>
<h3 dir="auto">URL</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">How to reproduce the issue?</h3>
<p dir="auto">I suspect the error is in incorrect % escaping, however I don't expect HTTP 5xx code</p>
<div class="highlight highlight-source-shell" dir="auto"><pre class="notranslate">curl <span class="pl-s"><span class="pl-pds">'</span>https://master.apis.dev.openstreetmap.org/api/0.6/changeset/create<span class="pl-pds">'</span></span> \
-v \
-X PUT \
--data-raw <span class="pl-s"><span class="pl-pds">$'</span><osm><changeset><tag k="created_by" v="test"/><tag k="comment" v="100% \u0441\u043f\u043e\u0440\u0442\u0430"/></changeset></osm><span class="pl-pds">'</span></span></pre></div>
<p dir="auto">Response:</p>
<pre class="notranslate"><code class="notranslate"> HTTP/2 502
< date: Fri, 13 Jun 2025 18:10:34 GMT
< cache-control: no-cache, no-store, must-revalidate
< strict-transport-security: max-age=31536000; includeSubDomains; preload
< content-length: 54
< status: 502 Bad Gateway
< x-robots-tag: noindex, nofollow
< content-type: text/html; charset=UTF-8
< server: Apache/2.4.62 (Debian)
<
* Connection #0 to host master.apis.dev.openstreetmap.org left intact
</code></pre>
<p dir="auto">If you remove the \u symbols:</p>
<div class="highlight highlight-source-shell" dir="auto"><pre class="notranslate">curl <span class="pl-s"><span class="pl-pds">'</span>https://master.apis.dev.openstreetmap.org/api/0.6/changeset/create<span class="pl-pds">'</span></span> \
-v \
-X PUT \
--data-raw <span class="pl-s"><span class="pl-pds">$'</span><osm><changeset><tag k="created_by" v="test"/><tag k="comment" v="100%"/></changeset></osm><span class="pl-pds">'</span></span></pre></div>
<p dir="auto">Response:</p>
<pre class="notranslate"><code class="notranslate">< HTTP/2 500
< vary: Origin
< strict-transport-security: max-age=31536000; includeSubDomains; preload
< x-request-id: d691e6dc-12f0-49af-8740-3ea0a85f7b06
< x-runtime: 0.010115
< date: Fri, 13 Jun 2025 18:11:30 GMT
< x-powered-by: Phusion Passenger(R) 6.0.27
< status: 500 Internal Server Error
< x-robots-tag: noindex, nofollow
< content-type: text/plain; charset=utf-8
< server: Apache/2.4.62 (Debian)
<
500 Internal Server Error
* Connection #0 to host master.apis.dev.openstreetmap.org left intact
</code></pre>
<h3 dir="auto">Screenshot(s) or anything else?</h3>
<p dir="auto"><em>No response</em></p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/6096">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPXLHHV2JUPH72TFDT3DMILLAVCNFSM6AAAAAB7IYPIWWVHI2DSMVQWIX3LMV43ASLTON2WKOZTGE2DIMZWGUYDMMA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLLX7JDF7W6LXFVA7T33DMILLA5CNFSM6AAAAAB7IYPIWWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHLW2ZUAQ.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/6096</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/6096",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/6096",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>