diff options
author | nodiscc <nodiscc@gmail.com> | 2015-06-24 00:51:38 +0200 |
---|---|---|
committer | nodiscc <nodiscc@gmail.com> | 2015-06-24 00:51:38 +0200 |
commit | eaefcba724e93c5f6b426ad8855ab1af8ac8212a (patch) | |
tree | 283a94eeedbee9716cc6a43bbb8a1be4d1136916 /application/LinkDB.php | |
parent | 9f15ca9ee76bc36832f12a952005fdaf52e2559d (diff) | |
parent | 5f85fcd863fe261921953ea3bd1742f3e1b7cf68 (diff) | |
download | Shaarli-eaefcba724e93c5f6b426ad8855ab1af8ac8212a.tar.gz Shaarli-eaefcba724e93c5f6b426ad8855ab1af8ac8212a.tar.zst Shaarli-eaefcba724e93c5f6b426ad8855ab1af8ac8212a.zip |
Merge remote-tracking branch 'ArthurHoaro/input-escape' into next
Conflicts:
index.php
Diffstat (limited to 'application/LinkDB.php')
-rw-r--r-- | application/LinkDB.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/application/LinkDB.php b/application/LinkDB.php index 47dbcaf3..2b3fb60b 100644 --- a/application/LinkDB.php +++ b/application/LinkDB.php | |||
@@ -249,6 +249,11 @@ class LinkDB implements Iterator, Countable, ArrayAccess | |||
249 | foreach ($this->links as $link) { | 249 | foreach ($this->links as $link) { |
250 | $this->urls[$link['url']] = $link['linkdate']; | 250 | $this->urls[$link['url']] = $link['linkdate']; |
251 | } | 251 | } |
252 | |||
253 | // Escape links data | ||
254 | foreach($this->links as &$link) { | ||
255 | sanitizeLink($link); | ||
256 | } | ||
252 | } | 257 | } |
253 | 258 | ||
254 | /** | 259 | /** |