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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悶 static files with uppercase letters in filename are not served #227

Closed
y21 opened this issue Mar 14, 2020 · 2 comments
Closed

馃悶 static files with uppercase letters in filename are not served #227

y21 opened this issue Mar 14, 2020 · 2 comments

Comments

@y21
Copy link

y21 commented Mar 14, 2020

Fiber version/commit
v1.8.31

Issue description
Files that have an uppercase letter in their filename are not served. My file structure:

- [project root]
    - main.go
    - public
        - js
            - A.js

image

Expected behavior
The file should be sent to the client

Steps to reproduce
1.) Create a file with an uppercase letter in its filename
2.) Run the code below
3.) Send request to /js/<filename>.js

Code snippet

package main

import "github.com/gofiber/fiber"

func main() {
  app := fiber.New()
  app.Static("/js", "./public/js")
  app.Listen(3000)
}
@y21 y21 added the bug label Mar 14, 2020
@welcome
Copy link

welcome bot commented Mar 14, 2020

Thanks for opening your first issue here! 馃帀 Be sure to follow the issue template!

This was referenced Mar 15, 2020
@Fenny
Copy link
Member

Fenny commented Mar 15, 2020

This should be fixed in v1.8.32 https://github.com/gofiber/fiber/releases/tag/v1.8.32
Feel free to re-open this issue if you still have problems regarding this issue.

@Fenny Fenny closed this as completed Mar 15, 2020
@Fenny Fenny added the solved label Mar 15, 2020
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

No branches or pull requests

2 participants