Skip to content
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

Paths with space don't work. #35

Open
4e576rt8uh9ij9okp opened this issue Sep 23, 2024 · 2 comments · May be fixed by elysiajs/elysia#958
Open

Paths with space don't work. #35

4e576rt8uh9ij9okp opened this issue Sep 23, 2024 · 2 comments · May be fixed by elysiajs/elysia#958
Assignees

Comments

@4e576rt8uh9ij9okp
Copy link

I have tested it with two filenames/paths.

Original: 01-03 Regardless.flac returning 404 not found
Renamed: song.flac returning the file
Renamed: song 123.flac returning 404 not found.

@bogeychan
Copy link
Collaborator

bogeychan commented Dec 17, 2024

Thanks for reporting this!

It's an issue on elysia's side (not the plugin) and blocked by elysiajs/elysia#944

@bogeychan bogeychan self-assigned this Dec 17, 2024
@bogeychan
Copy link
Collaborator

You can do this as a workaround:

staticPlugin({
  enableDecodeURI: true,
  alwaysStatic: false,
})

#15 (comment)

@macabeus macabeus linked a pull request Dec 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants