From 2a718cf73e54b242b421d5a16ca86178ffa6142c Mon Sep 17 00:00:00 2001 From: Johann150 Date: Tue, 8 Jun 2021 08:50:13 +0200 Subject: [PATCH] update documents for v3.1.0 --- CHANGELOG.md | 10 ++++++++-- Cargo.lock | 2 +- Cargo.toml | 2 +- content/index.gmi | 17 +++++++++++++++++ 4 files changed, 27 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 409787c..8bc3fde 100644 --- 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 index 046b649..381780f 100644 --- 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 index 68c3d65..acb2394 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "agate" -version = "3.0.3" +version = "3.1.0" authors = ["Matt Brubeck ", "Johann150 "] 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 index 4ad197b..0d0a4f2 100644 --- 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.