mirror of
https://github.com/YGGverse/agate.git
synced 2026-04-08 12:35:28 +00:00
better error messages when directory listing is disabled
This is possibly also related to #60. Instead of showing a generic not found error, this shows both the admin and the user that the directory exists, but directory listing is disabled.
This commit is contained in:
parent
14e15d430a
commit
2bc7d6e63a
2 changed files with 27 additions and 8 deletions
12
CHANGELOG.md
12
CHANGELOG.md
|
|
@ -6,6 +6,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [Unreleased]
|
||||
Thank you to Oliver Simmons (@GoodClover) for contributing to this release.
|
||||
|
||||
### Added
|
||||
* tests for symlink files (#60)
|
||||
Symlinks were already working before.
|
||||
|
||||
### Changed
|
||||
* Visiting a directory without `index.gmi` and `.directory-listing-ok` now returns a different error message to better show the cause of the error.
|
||||
To retain the current behaviour of showing a `51 Not found, sorry.` error, add the following line to the respective directories' `.meta` file:
|
||||
```
|
||||
index.gmi: 51 Not found, sorry.
|
||||
```
|
||||
|
||||
## [3.0.3] - 2021-05-24
|
||||
Thank you to @06kellyjac, @cpnfeeny, @lifelike, @skittlesvampir and @steko for contributing to this release.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue