-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: encode filenames before posting to laskugeneraattori #523
The head ref may contain hidden characters: "522-handle-\u00E5\u00E4\u00F6-in-filenames-invoice-generator-front"
fix: encode filenames before posting to laskugeneraattori #523
Conversation
* Make hero text dynamic and add cool animation (#290) * Remove unused import * Fix code review comments
* add dynamic site logo * add site logo * improve code quality
Add support for badges of honor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure how it is done right now but apparently non-ascii characters are to be included, they should be added to the https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition#syntax
|
@lajp I'll take a look. We are using a higher level abstraction with FormData and Fetch, that should do the right thing automatically... |
I found a potential cause for this. Apparently |
We could also just slugify the original filenames and strip special characters as a workaround, I doubt that would affect any invoices negatively 🤔 Could do it in similarly like we do with heading IDs for rich text |
Description
Closes #522
Before submitting the PR, please make sure you do the following
Formatting and linting
pnpm format
and lint the project withpnpm lint