aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-02 11:48:57 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-02 11:48:57 +0200
commit408f3df28e0b872847d2c4b6a91c63bbd18cd7f1 (patch)
tree61e5d55719c857c674c2aacaaaec6ee369f1d541 /inc
parent2ee436eaa19fd5819a0e6c705b5fcc93f11fb338 (diff)
downloadwallabag-408f3df28e0b872847d2c4b6a91c63bbd18cd7f1.tar.gz
wallabag-408f3df28e0b872847d2c4b6a91c63bbd18cd7f1.tar.zst
wallabag-408f3df28e0b872847d2c4b6a91c63bbd18cd7f1.zip
URL is now encoded
Diffstat (limited to 'inc')
-rw-r--r--inc/functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/functions.php b/inc/functions.php
index 34ecf510..ee26fbaa 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -342,6 +342,8 @@ function action_to_do($action, $url, $id = 0)
342 if ($url == '') 342 if ($url == '')
343 continue; 343 continue;
344 344
345 $url = base64_decode($url);
346 error_log(print_r($url, TRUE));
345 if (MyTool::isUrl($url)) { 347 if (MyTool::isUrl($url)) {
346 if($parametres_url = prepare_url($url)) { 348 if($parametres_url = prepare_url($url)) {
347 if ($store->add($url, $parametres_url['title'], $parametres_url['content'])) { 349 if ($store->add($url, $parametres_url['title'], $parametres_url['content'])) {