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

🐛 Fix c.OriginalURL() changed after SendFile #1553

Merged

Conversation

ivanvc
Copy link
Contributor

@ivanvc ivanvc commented Sep 30, 2021

Please provide enough information so that others can review your pull request:

This PR fixes #1499.

Explain the details for making this change. What existing problem does the pull request solve?

As described in the bug, after the sendFile() is called, c.OriginalURL() doesn't get restored. This PR fixes that issue.

Note: This is my first PR in this project, let me know if it needs any changes ✌️

@welcome
Copy link

welcome bot commented Sep 30, 2021

Thanks for opening this pull request! 🎉 Please check out our contributing guidelines. If you need help or want to chat with us, join us on Discord https://gofiber.io/discord

@ReneWerner87 ReneWerner87 merged commit 26c29e2 into gofiber:master Oct 1, 2021
@welcome
Copy link

welcome bot commented Oct 1, 2021

Congrats on merging your first pull request! 🎉 We here at Fiber are proud of you! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 c.OriginalURL() changed after SendFile
2 participants