Merge branch 'latest' of https://github.com/shaarli/Shaarli into myShaarli_commu
This commit is contained in:
commit
1a129ca266
3 changed files with 18 additions and 2 deletions
12
.htaccess
12
.htaccess
|
@ -1,4 +1,16 @@
|
||||||
|
# Disable directory listing
|
||||||
|
Options -Indexes
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
|
||||||
|
# Prevent accessing subdirectories not managed by SCM
|
||||||
|
RewriteRule ^(.git|doxygen|vendor) - [F]
|
||||||
|
|
||||||
|
# Forward the "Authorization" HTTP header
|
||||||
|
RewriteCond %{HTTP:Authorization} ^(.*)
|
||||||
|
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
|
||||||
|
|
||||||
|
# REST API
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteRule ^ index.php [QSA,L]
|
RewriteRule ^ index.php [QSA,L]
|
||||||
|
|
|
@ -4,7 +4,11 @@ All notable changes to this project will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
## [v0.10.0](https://github.com/shaarli/Shaarli/releases/tag/v0.10.0) - UNPUBLISHED
|
## [v0.9.6](https://github.com/shaarli/Shaarli/releases/tag/v0.9.6) - 2018-03-25
|
||||||
|
## Changed
|
||||||
|
- htaccess: prevent accessing resources not managed by SCM
|
||||||
|
- htaccess: always forward the 'Authorization' HTTP header
|
||||||
|
|
||||||
|
|
||||||
## [v0.9.5](https://github.com/shaarli/Shaarli/releases/tag/v0.9.5) - 2018-02-02
|
## [v0.9.5](https://github.com/shaarli/Shaarli/releases/tag/v0.9.5) - 2018-02-02
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
<?php /* 0.9.5 */ ?>
|
<?php /* 0.9.6 */ ?>
|
||||||
|
|
Loading…
Reference in a new issue