[geeklog-cvs] geeklog: Fixed wrong use of '& ' when sending a trackback (bu...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Mar 15 11:31:19 EDT 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/4304c303cc45
changeset: 6834:4304c303cc45
user:      Dirk Haun <dirk at haun-online.de>
date:      Sun Mar 15 16:31:07 2009 +0100
description:
Fixed wrong use of '&' when sending a trackback (bug #0000825)

diffstat:

2 files changed, 4 insertions(+), 3 deletions(-)
public_html/docs/history |    1 +
system/lib-trackback.php |    6 +++---

diffs (27 lines):

diff -r 03a33f7d96e3 -r 4304c303cc45 public_html/docs/history
--- a/public_html/docs/history	Sun Mar 15 16:24:56 2009 +0100
+++ b/public_html/docs/history	Sun Mar 15 16:31:07 2009 +0100
@@ -11,6 +11,7 @@
 + (TBD) Comment moderation and editable comments, by Jared Wenerd
 
 Other changes:
+- Fixed wrong use of '&' when sending a trackback (bug #0000825)
 - Removed incomplete PDF generator (never enabled in any shipped version) [Dirk]
 - Fixed a problem with words being merged together in newsfeeds when the article
   was written with CR as the line separator [Dirk]
diff -r 03a33f7d96e3 -r 4304c303cc45 system/lib-trackback.php
--- a/system/lib-trackback.php	Sun Mar 15 16:24:56 2009 +0100
+++ b/system/lib-trackback.php	Sun Mar 15 16:31:07 2009 +0100
@@ -766,9 +766,9 @@
         return $LANG_TRB['error_socket'];
     }
 
-    $toSend = 'url=' . rawurlencode ($url) . '&title=' . rawurlencode ($title)
-            . '&blog_name=' . rawurlencode ($blog) . '&excerpt='
-            . rawurlencode ($excerpt);
+    $toSend = 'url=' . rawurlencode($url) . '&title=' . rawurlencode($title)
+            . '&blog_name=' . rawurlencode($blog) . '&excerpt='
+            . rawurlencode($excerpt);
     $charset = COM_getCharset ();
 
     fputs ($sock, 'POST ' . $target['path'] . $target['query'] . " HTTP/1.0\r\n");



More information about the geeklog-cvs mailing list