TheWaWaR / TheWaWaR/simple-http-server

Disable directory listing

Open
#108 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
3.5k
Forks
219
PR merge metrics
No merged PRs in 30d

Description

Is it possible to disable the directory listing? I'm using version 0.6.9 on Nix and the directory listing appears to be always on despite me not providing the -i flag.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the behavior with version 0.6.9 on Nix without the -i flag, then trace how the command-line option controls directory listing. Confirm the expected behavior from the issue: directory listing should remain disabled unless -i is provided, and add a regression check if the project has a relevant test location.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.