bcgov / bcgov/ligo-lib

Remove the option to see directory content from ui

Open
#9 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Review comment:
In the past I added show index (https://github.com/bcgov-c/data-linking/blob/develop-2.0/web/linkage/config/urls.py#L29) for dev debugging purposes. But this is not a good practice for production use. Let's set it to false before releasing the code for other people's use.
https://github.com/bcgov-c/data-linking/blob/develop-2.0/web/linkage/config/urls.py#L29

Contributor guide

Open the contributing guide

Research direction

Open web/linkage/config/urls.py at line 29 and inspect the show index setting added for development debugging. Set the option to false before release, then verify that the URL configuration no longer exposes directory contents.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
web-dev
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.