aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2018-01-04 18:35:22 +0100
committerVirtualTam <virtualtam@flibidi.net>2018-01-04 18:35:22 +0100
commit57e4a974f7332ec694822ec61b8527cc31152798 (patch)
tree7e3c4d85363c782d63ed38397fc9df2c159e7d6d
parentb14dfc23dd8c4ab1c2cf5788c205a19bff0c1f84 (diff)
parentcb9b87eb1ca015b0fdb03a223e2df190cb53cf05 (diff)
downloadShaarli-57e4a974f7332ec694822ec61b8527cc31152798.tar.gz
Shaarli-57e4a974f7332ec694822ec61b8527cc31152798.tar.zst
Shaarli-57e4a974f7332ec694822ec61b8527cc31152798.zip
Merge tag 'v0.9.3' into latest
Release v0.9.3
-rw-r--r--AUTHORS4
-rw-r--r--CHANGELOG.md8
-rw-r--r--index.php2
-rw-r--r--shaarli_version.php2
4 files changed, 12 insertions, 4 deletions
diff --git a/AUTHORS b/AUTHORS
index 105561c1..57ff612a 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,5 +1,5 @@
1 537 ArthurHoaro <arthur@hoa.ro> 1 542 ArthurHoaro <arthur@hoa.ro>
2 252 VirtualTam <virtualtam@flibidi.net> 2 255 VirtualTam <virtualtam@flibidi.net>
3 148 nodiscc <nodiscc@gmail.com> 3 148 nodiscc <nodiscc@gmail.com>
4 56 Sébastien Sauvage <sebsauvage@sebsauvage.net> 4 56 Sébastien Sauvage <sebsauvage@sebsauvage.net>
5 15 Florian Eula <eula.florian@gmail.com> 5 15 Florian Eula <eula.florian@gmail.com>
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 511a6bce..0a7b120c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,14 @@ 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.9.3](https://github.com/shaarli/Shaarli/releases/tag/v0.9.3) - 2018-01-04
8
9**XSS vulnerability fixed. Please update.**
10
11### Security
12- Fix an XSS (cross-site-scripting) vulnerability in `index.php`
13
14
7## [v0.9.2](https://github.com/shaarli/Shaarli/releases/tag/v0.9.2) - 2017-10-07 15## [v0.9.2](https://github.com/shaarli/Shaarli/releases/tag/v0.9.2) - 2017-10-07
8 16
9**Major security issue fixed. Please update.** 17**Major security issue fixed. Please update.**
diff --git a/index.php b/index.php
index 4068a828..c26f50d1 100644
--- a/index.php
+++ b/index.php
@@ -431,7 +431,7 @@ if (isset($_POST['login']))
431 else 431 else
432 { 432 {
433 ban_loginFailed($conf); 433 ban_loginFailed($conf);
434 $redir = '&username='. $_POST['login']; 434 $redir = '&username='. urlencode($_POST['login']);
435 if (isset($_GET['post'])) { 435 if (isset($_GET['post'])) {
436 $redir .= '&post=' . urlencode($_GET['post']); 436 $redir .= '&post=' . urlencode($_GET['post']);
437 foreach (array('description', 'source', 'title', 'tags') as $param) { 437 foreach (array('description', 'source', 'title', 'tags') as $param) {
diff --git a/shaarli_version.php b/shaarli_version.php
index 035a86a6..a92b5619 100644
--- a/shaarli_version.php
+++ b/shaarli_version.php
@@ -1 +1 @@
<?php /* 0.9.2 */ ?> <?php /* 0.9.3 */ ?>