[OpenStreetMap] #5075: Embed-code contains wrong letters

OpenStreetMap trac at noreply.openstreetmap.org
Tue Dec 17 10:32:26 UTC 2013

#5075: Embed-code contains wrong letters
  Reporter:  db@…     |      Owner:  rails-dev@…
      Type:  defect   |     Status:  closed
  Priority:  minor    |  Milestone:
 Component:  website  |    Version:
Resolution:  invalid  |   Keywords:

Comment (by Jonathan Bennett):

 Replying to [comment:2 colin.smale@…]:
 > I am not so sure that that is always true ...

 Yes, it is, and the very article you reference points this out and
 explains the most common mistake of pasting an HTML encoded link directly
 into a browser's address bar:

 "The encoding of & as & is required in HTML, not in the link. When the
 browser sees the & in the HTML source for a link it will interpret it
 as an ampersand and the link target will be as intended. If you paste a
 URL into your browser address bar it does not expect it to be HTML and
 does not try to interpret any HTML encoding that it may contain. This is
 why your example links that you suggest we should copy/paste into a
 browser don't work and why we wouldn't expect them to work."

Ticket URL: <https://trac.openstreetmap.org/ticket/5075#comment:3>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world

More information about the rails-dev mailing list