]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - index.php
Bump Shaarli version to v0.8.5
[github/shaarli/Shaarli.git] / index.php
index b4ccd1bdfc05f58bcdc4134d1487550a7e7e44a0..6060bd9e728f6e7dd46bf897adbbbc387adfd7e8 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
 <?php
 /**
- * Shaarli v0.8.4 - Shaare your links...
+ * Shaarli v0.8.5 - Shaare your links...
  *
  * The personal, minimalist, super-fast, database free, bookmarking service.
  *
@@ -459,7 +459,7 @@ if (isset($_POST['login']))
     else
     {
         ban_loginFailed($conf);
-        $redir = '&username='. $_POST['login'];
+        $redir = '&username='. urlencode($_POST['login']);
         if (isset($_GET['post'])) {
             $redir .= '&post=' . urlencode($_GET['post']);
             foreach (array('description', 'source', 'title') as $param) {