Skip to content
NewA calmer, faster ZeroHour
StoryToolsinfo

datasette-leaflet 0.3 sends an origin referrer on tile requests

1 source · 2 articlesFirst reported Updated ()
Merged summary · from the lead articleSummaries by Vani AI

The change stops Datasette pages from violating OpenStreetMap’s rule that tile requests include a referrer.

Simon Willison released datasette-leaflet 0.3, the Datasette plugin that bundles Leaflet for other plugins. Datasette table pages used Referrer-Policy: no-referrer, so OpenStreetMap tile loads omitted the required referrer. The plugin now sets strict-origin-when-cross-origin on those tile requests, sending the host but not the full page path.

Key facts
  • OpenStreetMap requires a referrer header on hits to its hosted tile server.
  • The new policy is applied on the tile requests themselves, not the whole page.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

Coverage

oldest first · one row per article · UTC
  1. · 2d ago Simon WillisonFirst report

    datasette-leaflet 0.3 sends an origin referrer on tile requests

    The change stops Datasette pages from violating OpenStreetMap’s rule that tile requests include a referrer.

  2. · 2d ago Simon Willison

    datasette-cluster-map 0.19 works with Datasette 1.0a42

    The plugin now depends on datasette-leaflet so OpenStreetMap tiles are requested with a referrer header.