]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - index.php
fix bug #209: titles with colon bad parsed
[github/wallabag/wallabag.git] / index.php
index 5f43b7400c007887e94fe364bb66aabb78635499..7b775c41609868000250babef09c7e1cd77006ca 100644 (file)
--- a/index.php
+++ b/index.php
@@ -43,6 +43,10 @@ elseif (isset($_GET['import'])) {
 elseif (isset($_GET['export'])) {
     $poche->export();
 }
+elseif (isset($_GET['plainurl']) && !empty($_GET['plainurl'])) {
+    $plain_url = new Url(base64_encode($_GET['plainurl']));
+    $poche->action('add', $plain_url);
+}
 
 # vars to send to templates
 $tpl_vars = array(