Skip to content

Add path traversal protection to serving files example#16

Closed
jtdowney wants to merge 1 commit into
vshakitskiy:mistressfrom
jtdowney:example-path-traversal
Closed

Add path traversal protection to serving files example#16
jtdowney wants to merge 1 commit into
vshakitskiy:mistressfrom
jtdowney:example-path-traversal

Conversation

@jtdowney
Copy link
Copy Markdown
Contributor

@jtdowney jtdowney commented May 8, 2026

I know the comment already addresses this and explains that you needed to do this in production, but my fear is that people will copy and paste the code and ignore it. So why not just make it work correctly even in the example environment? Feel free to close if you don't want this addition.

@vshakitskiy
Copy link
Copy Markdown
Owner

Good to include that, thank you. I pushed the commit where I adjust your changes to my liking. If that looks okay to you, i can close this PR then. :)

@jtdowney
Copy link
Copy Markdown
Contributor Author

jtdowney commented May 8, 2026

Looks good

@vshakitskiy
Copy link
Copy Markdown
Owner

great, thank you!

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 this pull request may close these issues.

2 participants