[QGIS-Developer] [Qgis-psc] Request for Change of UserAgent

Jonathan Moules jonathan-lists at lightpear.com
Sat Feb 23 03:04:49 PST 2019


It seems to me there are a few different aspects to this.

- The convention is to stick "Mozilla 5" into user-agents for browsers 
because every other browser uses it. At this point they all pretend to 
be each other - 
https://stackoverflow.com/questions/1114254/why-do-all-browsers-user-agents-start-with-mozilla

- Looking at a bunch of random user-agents, non-browsers don't usually 
put "Mozilla" in them (there are websites with long lists).

- For some reason OSM can't block the QGIS agent. I'm with Mathieu - 
this seems odd because it explicitly says "QGIS".

- Cookies - QGIS doesn't do this (makes sense, doesn't need them), but 
why does OSM need them? Relying on cookies alone isn't a good idea - 
many users don't allow 3rd party cookies, and many users delete cookies 
when the browser closes or even when the tab is closed (self-destructing 
cookies plugins).

So I'd suggest it probably is worth removing the "Mozilla" component but 
it's not clear what the OSM request is about or why, so there's no way 
to know how to help them solve their problem.

Cheers,
Jonathan


On 21/02/2019 08:13, Richard Duivenvoorde wrote:
> On 21/02/2019 08.56, Mathieu Pellerin wrote:
>> I would really like to understand (i.e. get an explanation) from the OSM
>> admins as to why a user agent that explicitly identifies itself as QGIS
>> like we have now is not enough for them before moving forward.
>>
>> Being a web admin/developer myself, I can hardly find a reason why
>> that's not enough.
>>
>> I'm more curious than anything else, lots of love to the great OSM guys :)
> Cc'ing this to Grant/Firefishy too, so maybe he wants to answer here.
>
> But one of the things he convinced me with was, that for example in
> browsers they can work with cookies, while QGIS shows itself as a
> Mozilla browser, BUT does not accept cookies etc etc.
>
> Regards,
>
> Richard
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer




More information about the QGIS-Developer mailing list