aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2018-01-04 18:34:22 +0100
committerVirtualTam <virtualtam@flibidi.net>2018-01-04 18:34:22 +0100
commit99b083999eee26c877528241d6877f64b59c205b (patch)
tree986950c25e390dfde33d3d900689ac4b01e289cb /index.php
parent01e942d44c7194607649817216aeb5d65c6acad6 (diff)
parent9cd0df4d07599e8f0406c5cd867ebd01edc03846 (diff)
downloadShaarli-99b083999eee26c877528241d6877f64b59c205b.tar.gz
Shaarli-99b083999eee26c877528241d6877f64b59c205b.tar.zst
Shaarli-99b083999eee26c877528241d6877f64b59c205b.zip
Merge branch 'v0.8' into stable
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index b4ccd1bd..6060bd9e 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
1<?php 1<?php
2/** 2/**
3 * Shaarli v0.8.4 - Shaare your links... 3 * Shaarli v0.8.5 - Shaare your links...
4 * 4 *
5 * The personal, minimalist, super-fast, database free, bookmarking service. 5 * The personal, minimalist, super-fast, database free, bookmarking service.
6 * 6 *
@@ -459,7 +459,7 @@ if (isset($_POST['login']))
459 else 459 else
460 { 460 {
461 ban_loginFailed($conf); 461 ban_loginFailed($conf);
462 $redir = '&username='. $_POST['login']; 462 $redir = '&username='. urlencode($_POST['login']);
463 if (isset($_GET['post'])) { 463 if (isset($_GET['post'])) {
464 $redir .= '&post=' . urlencode($_GET['post']); 464 $redir .= '&post=' . urlencode($_GET['post']);
465 foreach (array('description', 'source', 'title') as $param) { 465 foreach (array('description', 'source', 'title') as $param) {