mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-30 18:32:44 +03:00
Set User-Agent to contain Mozilla/5.0 string
A blatant lie for a blatant abuse of Firewall filters.
This commit is contained in:
parent
20969cf6bb
commit
95c532c46a
1 changed files with 1 additions and 1 deletions
|
@ -473,7 +473,7 @@ static int dav_connect(const char *base_url) {
|
|||
|
||||
ne_set_read_timeout(dav_session.ctx, dav_session.read_timeout);
|
||||
|
||||
snprintf( uaBuf, sizeof(uaBuf), "csyncoC/%s",CSYNC_STRINGIFY( LIBCSYNC_VERSION ));
|
||||
snprintf( uaBuf, sizeof(uaBuf), "Mozilla/5.0 (compatible; csyncoC/%s)",CSYNC_STRINGIFY( LIBCSYNC_VERSION ));
|
||||
ne_set_useragent( dav_session.ctx, uaBuf);
|
||||
ne_set_server_auth(dav_session.ctx, ne_auth, 0 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue