<p></p>
<p dir="auto">So reassessment time it is!</p>
<p dir="auto">As <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gravitystorm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gravitystorm">@gravitystorm</a> noted, a unit test for specificly allowing the <a href="https://www.osm.org/id#background=custom:https://storage.googleapis.com/soi_data/export/tiles/%7Bz%7D/%7Bx%7D/%7By%7D.webp&map=6/22/80" rel="nofollow">storage.google.com subdomain</a> is needed.<br>
A negative lookaround in <code class="notranslate">.*(?<!storage)\.google(apis)?\..*/.*</code> seems to allow that.<br>
That said, <a href="https://caniuse.com/js-regexp-lookbehind" rel="nofollow">Safari (and IE) doesn't support lookbehinds yet</a>.<br>
Assuming this regex works for most OSM-contributers needing this exeption and there isn't a less complex option I'm missing, the regex above should do it.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3512#issuecomment-1179751097">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOGA4YU2R4VZAMITSLVTLVILANCNFSM5RVXIWSQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMV7GOOJR5UELHJUWLVTLVILA5CNFSM5RVXIWS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIZIZFOI.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/3512/c1179751097</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3512#issuecomment-1179751097",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3512#issuecomment-1179751097",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>