<p>Apologies to create a new issue for this stuff, but <a href="https://github.com/openstreetmap/openstreetmap-website/issues/1400" class="issue-link js-issue-link" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/1400" data-id="198235703" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#1400</a> is locked unfortunately and I wanted just to add a two line comment. So here we go:</p>
<p>I could reproduce the issue with Merkaartor 0.17.2 locally, the API URL as it is maintained in Merkaartor is perfectly ok, but somehow Merkaartor screwed up the "Host" part in the HTTP header by adding something like ":P" in the HTTP request. I guess this strict host check is somehow new or the user:wycbtma didn't use Merkaator for some time.</p>
<p>I don't if you want to support such a crappy and old client, at least for the user who reported it (and somehow is unable to upgrade for whatever reason) can no longer use his version.</p>
<p>See this HTTP trace I collected in wireshark:</p>
<pre><code>GET /api/0.6/way/65190596/relations HTTP/1.1
Host: www.openstreetmap.org:P
User-Agent: Merkaartor/0.17 (X11;SVNREV)
Authorization: Basic Og==
content-length: 0
HTTP/1.1 301 Moved Permanently
Date: Fri, 06 Jan 2017 17:39:15 GMT
Server: Apache/2.4.18 (Ubuntu)
Location: http://www.openstreetmap.org/api/0.6/way/65190596/relations
Content-Length: 356
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.openstreetmap.org/api/0.6/way/65190596/relations">here</a>.</p>
<hr>
<address>Apache/2.4.18 (Ubuntu) Server at www.openstreetmap.org:p Port 80</address>
</body></html>
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/1407">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLRMBgqGjgRV9RJ8HXAdlVMFJ9-xRks5rPoAkgaJpZM4Lc8rz">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLRDqszJAJnNYAw9xsjtiElbBHUMfks5rPoAkgaJpZM4Lc8rz.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/1407"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Follow-up #1400 (#1407)"}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/openstreetmap-website/issues/1407"}}}</script>