Skip to content

Use http4s' new Part.filename method#2853

Merged
eikek merged 1 commit intoeikek:masterfrom
pschichtel:bugfix/upload-filename-encoding
Dec 8, 2024
Merged

Use http4s' new Part.filename method#2853
eikek merged 1 commit intoeikek:masterfrom
pschichtel:bugfix/upload-filename-encoding

Conversation

@pschichtel
Copy link
Copy Markdown
Contributor

this reencodes the filename as UTF-8, which is probably a safe bet.

this should close #2825

@nekrondev
Copy link
Copy Markdown
Contributor

LGTM 👍

@pschichtel
Copy link
Copy Markdown
Contributor Author

@eikek could you have a look at this?

@eikek
Copy link
Copy Markdown
Owner

eikek commented Dec 4, 2024

Thank you and sorry for the delay. I'm having a bit of a hard time currently. I'll be slow to respond for a while, hopefully starting better next year ;-)

@eikek eikek added fix restserver Affects the rest server. labels Dec 4, 2024
@pschichtel
Copy link
Copy Markdown
Contributor Author

Unfortunate that ci files, I think I had that issue earlier but it somehow disappeared. I'll fix that in the coming days

this reencodes the filename as UTF-8, which is probably a safe bet.
@pschichtel pschichtel force-pushed the bugfix/upload-filename-encoding branch from d3f452e to 1783714 Compare December 5, 2024 23:13
@pschichtel
Copy link
Copy Markdown
Contributor Author

@eikek fixed and rebased this

@eikek eikek merged commit 4a07152 into eikek:master Dec 8, 2024
tiborrr pushed a commit to tiborrr/docspell that referenced this pull request Dec 30, 2024
@pschichtel pschichtel deleted the bugfix/upload-filename-encoding branch January 8, 2025 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix restserver Affects the rest server.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken Text-Encoding in Filenames after Upload

3 participants