HTTP File Upload issues against Openfire (#20)
Closed
Andrzej Wójcik (Tigase) opened 6 years ago

There is a reported issue about picture transfer with use of HTTP File Upload on Openfire and our client. Need to check it and fix it if possible.

Andrzej Wójcik (Tigase) commented 6 years ago

The issue was caused by mimetype returned by Openfire, which always returns text/html even though it is asked about the uploaded image!

To solve this issue I've added a workaround which checks file extension embedded in the received URL and if it is equal to one of the popular image extensions then preview will be downloaded.

Additionally, I've improved handling of SSL certificates served by HTTP File Upload capable servers (it is now possible to upload the file to HTTP server which has self-signed certificate after the user manually approves this upload).

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
8445
Version
1.1
Spent time
10h 30m
Issue Votes (0)
Watchers (0)
Reference
tigase/_clients/beagle-im#20
Please wait...
Page is in error, reload to recover