From 408f3df28e0b872847d2c4b6a91c63bbd18cd7f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 2 Aug 2013 11:48:57 +0200 Subject: URL is now encoded --- inc/functions.php | 2 ++ tpl/config.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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) if ($url == '') continue; + $url = base64_decode($url); + error_log(print_r($url, TRUE)); if (MyTool::isUrl($url)) { if($parametres_url = prepare_url($url)) { if ($store->add($url, $parametres_url['title'], $parametres_url['content'])) { diff --git a/tpl/config.html b/tpl/config.html index 43c0104c..2c7df4f7 100644 --- a/tpl/config.html +++ b/tpl/config.html @@ -2,7 +2,7 @@

Bookmarklet

Thanks to the bookmarklet, you will be able to easily add a link to your poche. If you don't know how use a bookmarklet, have a look here.

Drag & drop this link to your bookmarks bar and have fun with poche.

-

poche it !

+

poche it !

Password

-- cgit v1.2.3