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

Correct path check for ".." #68

Merged
merged 1 commit into from
Jun 1, 2024
Merged

Correct path check for ".." #68

merged 1 commit into from
Jun 1, 2024

Conversation

g-rden
Copy link
Contributor

@g-rden g-rden commented May 31, 2024

Previously directory listing printed ".." when in wwwroot if wwwroot is not set to ".".
So ./darkhttpd /dir would have printed the "..".

Same solution like in #44

Sorry for the oversight

@hhartzer
Copy link
Contributor

No problem! Looks good to me.

@emikulic emikulic merged commit 57d7433 into emikulic:master Jun 1, 2024
@g-rden g-rden deleted the oopsy branch June 7, 2024 14:38
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.

3 participants