Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User-Agent: Move from Mozilla/5.0 to Mozilla/5.0 QGIS/<version>/<os-info> #66

Closed
benz0li opened this issue May 15, 2024 · 5 comments · Fixed by #67
Closed

User-Agent: Move from Mozilla/5.0 to Mozilla/5.0 QGIS/<version>/<os-info> #66

benz0li opened this issue May 15, 2024 · 5 comments · Fixed by #67

Comments

@benz0li
Copy link

benz0li commented May 15, 2024

Due to https://lists.osgeo.org/pipermail/qgis-user/2024-May/054439.html.

Cross references:

@benz0li
Copy link
Author

benz0li commented May 15, 2024

See also qgis/QGIS#57428.

@benz0li benz0li changed the title User-agent: Move from Mozilla/5.0 to QGIS/<version>/<os-info> User-Agent: Move from Mozilla/5.0 to QGIS/<version>/<os-info> May 15, 2024
@benz0li
Copy link
Author

benz0li commented May 15, 2024

Ping @Gustry

@Gustry
Copy link
Member

Gustry commented May 15, 2024

According to QGIS Desktop, it's following this format :

User-Agent: Mozilla/5.0 QGIS/33406/Ubuntu 22.04.4 LTS

@Gustry
Copy link
Member

Gustry commented May 15, 2024

Ah sorry, thanks for the link :

userAgent += QStringLiteral( "QGIS/%1/%2" ).arg( Qgis::versionInt() ).arg( QSysInfo::prettyProductName() );

@benz0li benz0li changed the title User-Agent: Move from Mozilla/5.0 to QGIS/<version>/<os-info> User-Agent: Move from Mozilla/5.0 to Mozilla/5.0 QGIS/<version>/<os-info> May 15, 2024
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 a pull request may close this issue.

2 participants