thelounge/src/plugins
Nachtalb 14d76f8023
Add proper filename to the content-disposition header
By default we take the slug given in the request, if this is not set we try to give a filename from known types.
If we still have no filename we fallback to the previous method of setting no filename.

If the filename is non ascii we will only create the encoded "filename*" and not the ascii only "filename". This is to prevent other applications to save a file like "?????.png" if the filename contains non ascii chars.

For the browsers nothing will really change comapred to the behaviour before this change as good fallbacks if no content-disposition filename is set. But that is not the case for all application, thus it makes sense to include the proper way to set the filename.
2021-04-11 15:41:21 +02:00
..
auth Filter user loading at startup for "advanced" LDAP 2020-04-23 15:54:09 +01:00
inputs Add network specific leave message 2020-12-18 10:53:37 +01:00
irc-events Add prefetchMaxSearchSize to override limit for link previews 2021-02-27 00:10:53 +01:00
messageStorage Fix msg id order when loading from sqlite 2020-04-28 17:45:27 +03:00
packages Add version support for packages. 2020-08-21 15:03:12 +01:00
auth.js Filter user loading at startup for "advanced" LDAP 2020-04-23 15:54:09 +01:00
changelog.js Pass in client manager object in update checker 2020-03-09 17:58:40 +02:00
clientCertificate.js Generate client certificates and automatically do SASL EXTERNAL 2020-04-15 10:56:04 +03:00
dev-server.js Update mini-css-extract-plugin 2020-10-11 11:06:52 +03:00
storage.js Replace all uses of fs-extra with native methods 2020-03-22 20:42:16 +02:00
sts.js Refresh STS policy expiration on network quit 2020-02-27 13:48:48 +02:00
uploader.js Add proper filename to the content-disposition header 2021-04-11 15:41:21 +02:00
webpush.js Format js/vue with prettier 2019-07-19 11:27:40 +01:00