aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.htaccess12
-rw-r--r--CHANGELOG.md6
-rw-r--r--shaarli_version.php2
3 files changed, 18 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index 66ef8f69..7ba4744b 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,4 +1,16 @@
1# Disable directory listing
2Options -Indexes
3
1RewriteEngine On 4RewriteEngine On
5
6# Prevent accessing subdirectories not managed by SCM
7RewriteRule ^(.git|doxygen|vendor) - [F]
8
9# Forward the "Authorization" HTTP header
10RewriteCond %{HTTP:Authorization} ^(.*)
11RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
12
13# REST API
2RewriteCond %{REQUEST_FILENAME} !-f 14RewriteCond %{REQUEST_FILENAME} !-f
3RewriteCond %{REQUEST_FILENAME} !-d 15RewriteCond %{REQUEST_FILENAME} !-d
4RewriteRule ^ index.php [QSA,L] 16RewriteRule ^ index.php [QSA,L]
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bf4063db..f0ba390c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,7 +4,11 @@ All notable changes to this project will be documented in this file.
4The format is based on [Keep a Changelog](http://keepachangelog.com/) 4The format is based on [Keep a Changelog](http://keepachangelog.com/)
5and this project adheres to [Semantic Versioning](http://semver.org/). 5and this project adheres to [Semantic Versioning](http://semver.org/).
6 6
7## [v0.10.0](https://github.com/shaarli/Shaarli/releases/tag/v0.10.0) - UNPUBLISHED 7## [v0.9.6](https://github.com/shaarli/Shaarli/releases/tag/v0.9.6) - 2018-03-25
8## Changed
9- htaccess: prevent accessing resources not managed by SCM
10- htaccess: always forward the 'Authorization' HTTP header
11
8 12
9## [v0.9.5](https://github.com/shaarli/Shaarli/releases/tag/v0.9.5) - 2018-02-02 13## [v0.9.5](https://github.com/shaarli/Shaarli/releases/tag/v0.9.5) - 2018-02-02
10### Fixed 14### Fixed
diff --git a/shaarli_version.php b/shaarli_version.php
index a47757c2..6bd0f829 100644
--- a/shaarli_version.php
+++ b/shaarli_version.php
@@ -1 +1 @@
<?php /* 0.9.5 */ ?> <?php /* 0.9.6 */ ?>