<p>Flagged up by brakeman (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="445851912" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/2229" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/2229/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/2229">#2229</a>).</p>
<p>While we debate the preferred configuration format for that tool, it makes sense to fix the problems it flags up in the meantime!</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/2570'>https://github.com/openstreetmap/openstreetmap-website/pull/2570</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Use end-of-string termination check when validating urls</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2570/files#diff-3ef1e2237f323b7d4dc1ce1fc11a5c20">app/models/client_application.rb</a>
(6)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2570.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/2570.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2570.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/2570.diff</a></li>
</ul>
<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/pull/2570">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLI3BVC5FDH2ENKA42TRJJBHLANCNFSM4LTUQYXA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLLUHCHLMMCXC237VYTRJJBHLA5CNFSM4LTUQYXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IYKNJXA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2570",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2570",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>