[Bug] WebDav plugin for 1.03 version

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
CrushYar
Junior Member
Junior Member
Posts: 2
Joined: 2012-11-01, 08:03 UTC

[Bug] WebDav plugin for 1.03 version

Post by *CrushYar »

WebDav plugin send 2 different User-Agent headers in request to server which result 400 error in Microsoft IIS server :
Bad request - Invalid header .

headers in request :

Code: Select all

User-Agent: Mozilla/5.0 (Linux; U; Android 2.0; en-us) AppleWebKit/522+ (KHTML, like Gecko) Safari/419.3
Depth: 1
Content-Length: 0
Connection: Keep-Alive
Cache-Control: no-cache
User-Agent: ezdavplugin/1.01 TotalCommander/1.03 (Android; en_EN)
Host: 192.168.1.4:80

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48203
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Strange, I'm only adding one header myself. It seems that your device adds its own header. I will check whether it's possible to remove that header.
Author of Total Commander
https://www.ghisler.com
CrushYar
Junior Member
Junior Member
Posts: 2
Joined: 2012-11-01, 08:03 UTC

Post by *CrushYar »

I have tested it with 2 devices : android 4.1 tablet and android 2.3 phone.
The same problem .

Thank you .
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48203
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I just checked my code - this should be fixed in the current beta of the WebDAV plugin. To get this, please click on the green "+" icon in Total Commander (in the home folder). On the plugin web page, scroll to the bottom and click on "beta plugins". Unfortuantely this plugin isn't yet on Google Play because it's still in beta.
Author of Total Commander
https://www.ghisler.com
Post Reply