[geeklog-cvs] geeklog: Link titles in autotags showed up with backslashes befo...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Sep 27 04:04:04 EDT 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/c71c0bedca65
changeset: 7338:c71c0bedca65
user:      Dirk Haun <dirk at haun-online.de>
date:      Sun Sep 27 09:56:06 2009 +0200
description:
Link titles in autotags showed up with backslashes before quotes (bug #0000986)

diffstat:

 plugins/links/functions.inc |  1 +
 public_html/docs/history    |  5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)

diffs (26 lines):

diff -r 163196b23d3d -r c71c0bedca65 plugins/links/functions.inc
--- a/plugins/links/functions.inc	Sun Sep 27 09:32:22 2009 +0200
+++ b/plugins/links/functions.inc	Sun Sep 27 09:56:06 2009 +0200
@@ -186,6 +186,7 @@
             if (empty($autotag['parm2'])) {
                 $result = DB_query("SELECT url, title FROM {$_TABLES['links']} WHERE lid = '$lid'");
                 list($siteurl, $linktext) = DB_fetchArray($result);
+                $linktext = stripslashes($linktext);
             } else {
                 $linktext = $autotag['parm2'];
                 $siteurl = DB_getItem($_TABLES['links'], 'url', "lid = '$lid'");
diff -r 163196b23d3d -r c71c0bedca65 public_html/docs/history
--- a/public_html/docs/history	Sun Sep 27 09:32:22 2009 +0200
+++ b/public_html/docs/history	Sun Sep 27 09:56:06 2009 +0200
@@ -72,6 +72,11 @@
 - Avoid triggering a false spam report when submitting an event with the default
   "http://" entry for the link still in place (bug #0000946) [Dirk]
 
+Links Plugin
+------------
+- Link titles in autotags showed up with backslashes before quotes (bug
+  #0000986) [Dirk]
+
 Polls Plugin
 ------------
 - When upgrading from Geeklog 1.5.2, the length of the poll IDs was not extended



More information about the geeklog-cvs mailing list