agate

Simple gemini server for static files
git clone https://github.com/mbrubeck/agate.git
Log | Files | Refs | README

commit 2a718cf73e54b242b421d5a16ca86178ffa6142c
parent 7b1e83ec8200a7052fbb867de020336370ac3649
Author: Johann150 <johann.galle@protonmail.com>
Date:   Tue,  8 Jun 2021 08:50:13 +0200

update documents for v3.1.0

Diffstat:
MCHANGELOG.md | 10++++++++--
MCargo.lock | 2+-
MCargo.toml | 2+-
Mcontent/index.gmi | 17+++++++++++++++++
4 files changed, 27 insertions(+), 4 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -6,12 +6,17 @@ 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. + +## [3.1.0] - 2021-06-08 +Thank you to Matthew Ingwersen and Oliver Simmons (@GoodClover) for contributing to this release. ### Added * tests for symlink files (#60) Symlinks were already working before. +### Fixed +* A path traversal security issue was closed: Percent-encoded slashes were misunderstood. + ### 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: @@ -261,7 +266,8 @@ Thank you to @m040601 for contributing to this release. ## [1.0.0] - 2020-05-21 -[Unreleased]: https://github.com/mbrubeck/agate/compare/v3.0.3...HEAD +[Unreleased]: https://github.com/mbrubeck/agate/compare/v3.1.0...HEAD +[3.1.0]: https://github.com/mbrubeck/agate/compare/v3.0.3...v3.1.0 [3.0.3]: https://github.com/mbrubeck/agate/compare/v3.0.2...v3.0.3 [3.0.2]: https://github.com/mbrubeck/agate/compare/v3.0.1...v3.0.2 [3.0.1]: https://github.com/mbrubeck/agate/compare/v3.0.0...v3.0.1 diff --git a/Cargo.lock b/Cargo.lock @@ -2,7 +2,7 @@ # It is not intended for manual editing. [[package]] name = "agate" -version = "3.0.3" +version = "3.1.0" dependencies = [ "anyhow", "configparser", diff --git a/Cargo.toml b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "agate" -version = "3.0.3" +version = "3.1.0" authors = ["Matt Brubeck <mbrubeck@limpet.net>", "Johann150 <johann+agate@qwertqwefsday.eu>"] description = "Very simple server for the Gemini hypertext protocol" keywords = ["server", "gemini", "hypertext", "internet", "protocol"] diff --git a/content/index.gmi b/content/index.gmi @@ -198,6 +198,23 @@ The format is based on Keep a Changelog and this project adheres to Semantic Ver => https://keepachangelog.com/en/1.0.0/ Keep a Changelog home page => https://semver.org/spec/v2.0.0.html Semantic versioning standard v2.0.0 +## [3.1.0] - 2021-06-08 +Thank you to Matthew Ingwersen and Oliver Simmons (@GoodClover) for contributing to this release. + +### Added +* tests for symlink files (#60) + Symlinks were already working before. + +### Fixed +* A path traversal security issue was closed: Percent encoded slashes were misunderstood. + +### 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.