<p>Fixes <a href="https://github.com/openstreetmap/openstreetmap-website/issues/311" class="issue-link" title="Insufficient input checking on note creation">#311</a>.</p>
<hr>
<h4>You can merge this Pull Request by running</h4>
<pre> git pull https://github.com/iandees/openstreetmap-website 331-latlon-require-numeric</pre>
<p>Or view, comment on, or merge it at:</p>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/315'>https://github.com/openstreetmap/openstreetmap-website/pull/315</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Guard against non-numeric lat/lons in nodes and notes.</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/315/files#diff-0">app/controllers/notes_controller.rb</a>
(12)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/315/files#diff-1">app/models/node.rb</a>
(12)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/315.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/315.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/315.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/315.diff</a></li>
</ul>