Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
While debugging a different issue with the OSM Nominatim dev team, it came to their attention that the user agent "drupal.org" is always being sent in the GET. They require something a bit more unique in order to contact the server owner if by chance a request is faulty, or too much info is being requested. I'm guessing in this case the baseurl should be sent rather than "drupal.org".
I set this to bug, since it would be important for sites that perform a lot of requests to avoid interruption.
Comment | File | Size | Author |
---|---|---|---|
#5 | i2682527-5.patch | 1.07 KB | attiks |
Comments
Comment #2
PolComment #3
NWOM CreditAttribution: NWOM commentedThis is still very much relevant and was explicitly requested by the Open Street Maps team.
Comment #4
attiks CreditAttribution: attiks at Attiks commentedAttached patch changes the default user agent and allows you to override it in settings.php
Comment #5
attiks CreditAttribution: attiks at Attiks commentedIgnore #4, new patch
Comment #6
denix CreditAttribution: denix as a volunteer commentedIt works and I really hope to see this released soon. Nominatim is such a better service!
Comment #7
anrikun CreditAttribution: anrikun commentedSee also #3050679: OSM Nominatim does not work
Comment #8
ugintl CreditAttribution: ugintl commentedI think @anrikun's patch covers all nominatim related issues. If it is so then all of them must be merged to avoid confusion.
Comment #9
denix CreditAttribution: denix as a volunteer commentedI am going to close this as outdated so that we can keep the discussion in #3050679 as suggested by @anrikun