twisted / twisted/twisted

No way to turn off directory listing for twisted web from the CLI

Open
#7,674 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement new priority-normal web
Dominant language
Python
Stars
6k
Forks
1.2k
Avg merge
2d 10h
Merged PRs (30d)
10

Description

Alex's avatar Alex reported
Trac ID trac#7674
Type enhancement
Created 2014-10-10 17:00:19Z

Right now if you use twistd web --path=path/ you always get directory listing index pages, it would be nice to be able to turn those off from the CLI.

Searchable metadata
trac-id__7674 7674
type__enhancement enhancement
reporter__Alex Alex
priority__normal normal
milestone__ 
branch__ 
branch_author__ 
status__new new
resolution__None None
component__web web
keywords__ 
time__1412960419786432 1412960419786432
changetime__1412960419856051 1412960419856051
version__None None
owner__None None
cc__jknight

Contributor guide

Open the contributing guide

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

Start from the twistd web --path=path/ command and trace how directory listing pages are enabled. Define a CLI option that disables those pages, then verify that the existing path-serving behavior no longer produces directory indexes when the option is used.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, web-dev
Issue type
Feature
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.