]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
URL encode links when a redirector is set. 355/head
authorArthurHoaro <arthur@hoa.ro>
Fri, 18 Sep 2015 11:26:36 +0000 (13:26 +0200)
committerArthurHoaro <arthur@hoa.ro>
Thu, 26 Nov 2015 19:14:38 +0000 (20:14 +0100)
commit90e5bd65c9d4a5d3d5cedfeaa1314f2a15df5227
tree7a085b9aecaa92aa5076df01df78c39edd2acff5
parent986afb752bc57271e76935da9ed2df6ef8713cb7
URL encode links when a redirector is set.

Fixes #328 - URL encode links when a redirector is set

  * WARNING - template edit - new variable available : "real_url"
  Contains the final real url (redirected or any other change on original URL)

  * Don't redirect shaares link in RSS/Atom.
  * Affects links shaared in description.
  * Move text2clickable and keepMultipleSpaces to Utils.php + unit test

UPDATE:

* keepMultipleSpaces renamed to space2nbsp
* space2nbsp improved to handle single space at line beginning
* links in text description aren't 'nofollow' anymore
application/LinkDB.php
application/Utils.php
index.php
plugins/qrcode/qrcode.php
tests/LinkDBTest.php
tests/UtilsTest.php
tests/plugins/PlugQrcodeTest.php
tpl/daily.html
tpl/linklist.html
tpl/picwall.html