Skip to content

MM: fix(photo-addon): add referrer policy for OSM map tiles#361

Open
mmattel wants to merge 2 commits intomainfrom
mm-fix-photo-addon-map-referer
Open

MM: fix(photo-addon): add referrer policy for OSM map tiles#361
mmattel wants to merge 2 commits intomainfrom
mm-fix-photo-addon-map-referer

Conversation

@mmattel
Copy link
Contributor

@mmattel mmattel commented Mar 22, 2026

Supercedes: #360

CI working mirror of #360
@paul43210 FYI

paul43210 and others added 2 commits March 20, 2026 10:50
OSM's tile servers require a Referer header, but oCIS may set a strict
Referrer-Policy that strips it, causing intermittent 403 errors on map
tiles. Fix: inject a meta referrer tag and set referrerPolicy on each
tile image element. Failed tiles retry once after 500ms.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mmattel mmattel requested a review from LukasHirt March 22, 2026 16:29
@mmattel mmattel changed the title Mm fix photo addon map referer MM: fix(photo-addon): add referrer policy for OSM map tiles Mar 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants