[openstreetmap/openstreetmap-website] missing image on 404 page (#1241)

Mateusz Konieczny notifications at github.com
Wed Jun 22 09:04:07 UTC 2016


404 page is 

```
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
  <img src="/assets/osm_logo.png" style="float:left; margin:10px">
  <div style="float:left;">
    <h1>File not found</h1>  
    <p>Couldn't find a file/directory/API operation by that name on the OpenStreetMap server (HTTP 404)</p>
    <p>Feel free to <a href="http://wiki.openstreetmap.org/wiki/Contact" title="Various contact channels explained">contact</a> the OpenStreetMap community if you have found a broken link / bug. Make a note of the exact URL of your request.</p>
  </div>
</body>
</html>
```

But /assets/osm_logo.png is not available for 404 page, what results in a broken image symbol

See for example https://www.openstreetmap.org/assets/osm_logo.png 

Note that this image exists at https://github.com/openstreetmap/openstreetmap-website/blob/master/app/assets/images/osm_logo.png

![selection_005](https://cloud.githubusercontent.com/assets/899988/16260748/079e9888-3869-11e6-9493-e91226ae275a.png)


---
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/1241
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160622/f5eba794/attachment.html>


More information about the rails-dev mailing list