You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Darg & drop a small test.mp4 file into note tree. The preview works. Rename it into test😄.mp4.
Refresh and clear cache with Ctrl+F5. The preview is dead.
TriliumNext Version
Source code
What operating system are you using?
Other Linux
What is your setup?
Local (no sync)
Operating System Version
Manjaro
Error logs
TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Content-Disposition"]
at ServerResponse.setHeader (node:_http_outgoing:662:3)
at Object.exports.setHeader (/home/nate/gitRepo/trilium/node_modules/express-partial-content/src/utils.ts:5:78)
at Object.exports.setContentDispositionHeader (/home/nate/gitRepo/trilium/node_modules/express-partial-content/src/utils.ts:12:3)
at <anonymous> (/home/nate/gitRepo/trilium/node_modules/express-partial-content/src/createPartialContentHandler.ts:42:5)
at Generator.next (<anonymous>)
at fulfilled (/home/nate/gitRepo/trilium/node_modules/express-partial-content/dist/createPartialContentHandler.js:4:58) {
code: 'ERR_INVALID_CHAR'
}
The text was updated successfully, but these errors were encountered:
@Nriver , indeed I can reproduce the issue; and ever worse, it's not only for emoji but for any UTF-8 character.
The problem is that I couldn't find any replacement library that does the same thing (apparently streaming HTTP is not so popular?).
I will probably fork it and maintain it on our side, but we'd have to deal with the package management stuff.
Description
Darg & drop a small
test.mp4
file into note tree. The preview works. Rename it intotest😄.mp4
.Refresh and clear cache with
Ctrl+F5
. The preview is dead.TriliumNext Version
Source code
What operating system are you using?
Other Linux
What is your setup?
Local (no sync)
Operating System Version
Manjaro
Error logs
The text was updated successfully, but these errors were encountered: