]> git.immae.eu Git - github/shaarli/Shaarli.git/commit - index.php
Prevent redirection loop everytime we rely on HTTP_REFERER: 257/head
authorArthurHoaro <arthur@hoa.ro>
Mon, 6 Jul 2015 08:22:00 +0000 (10:22 +0200)
committerArthurHoaro <arthur@hoa.ro>
Sun, 12 Jul 2015 15:43:13 +0000 (17:43 +0200)
commit775803a05cdba9d7fc1b37af4b15ecd80a8cbcc2
tree9a161fb97e69880f3ac8a034714418428937db6b
parent7f1dfd1c12a143b324fbe68213a49de0586febfa
Prevent redirection loop everytime we rely on HTTP_REFERER:

  * search tag
  * delete tag
  * pagination
  * display privates only
  * delete link
  * new/edit/cancel link return page

Move location generation to Utils.php + unit tests.

Fixes #256

ninja
application/Utils.php
index.php
tests/UtilsTest.php