- Issue created by @ressa
- First commit to issue fork.
It would be nice if the values for "User Agent" and "Referer" for the Nominatim provider could be set to some default values, by adding Token support.
This would help the Drupal Starshot project:
@phenaproxima:
User Agent: Value of the User-Agent header, for example "Drupal example.org". Replace "example.org" ...
Referer: Value of the Referer header, for example "https://example.org/". Replace with your URL.These are problematic for us because, at install time, we don't know what our URL is or will be.
Can these be anything that look like a URL? For example, could I set a value ofhttp://drupal-SOME_UUID.localhost
?
@mlncn:
Would it make sense to use tokens in the site-URL-dependent geocoder provider settings? If it does make sense and would solve our problem but it is not yet possible, we could open an issue to add token support?
Comments from the Drupal Starshot issue Use Geofield and Leaflet modules for maps, to respect user privacy #81 .
Add Token support for some provider fields, such as "User Agent" and "Referer".
As a start for the Nominatim provider, and later possibly for more providers, or perhaps all of them?
Active
4.0
Code