mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 06:29:53 +01:00
28102d8e1f
By specification, when settings.allowUnknownFileEnds is true and the user tries to import a file with an unknown extension (this includes no extension), Etherpad tries to import it as txt. This broke in Etherpad 1.8.0, that abruptly terminates the processing with an UnhandledPromiseRejectionWarning. This patch restores the intended behaviour, and allows to import as text a file with an unknown extension (on no extension). In order to catch the UnhandledPromiseRejectionWarning we had to use fsp_rename(), which is declared earlier in the code and is promised based instead of fs.rename(), which is callback based. Fixes #3710. |
||
---|---|---|
.. | ||
locales | ||
node | ||
static | ||
templates | ||
ep.json | ||
etherpad_icon.svg | ||
package-lock.json | ||
package.json | ||
README.md | ||
web.config |
Ignore this file and see the file in the base installation folder