[openstreetmap/openstreetmap-website] Follow-up #1400 (#1407)
mmd
notifications at github.com
Fri Jan 6 17:55:48 UTC 2017
Apologies to create a new issue for this stuff, but #1400 is locked unfortunately and I wanted just to add a two line comment. So here we go:
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.
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.
See this HTTP trace I collected in wireshark:
```
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>
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1407
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170106/9c00f426/attachment.html>
More information about the rails-dev
mailing list