[pLog-svn] r4842 - plog/branches/lifetype-1.2/class/net
reto at devel.lifetype.net
reto at devel.lifetype.net
Thu Feb 22 17:36:19 EST 2007
Author: reto
Date: 2007-02-22 17:36:19 -0500 (Thu, 22 Feb 2007)
New Revision: 4842
Modified:
plog/branches/lifetype-1.2/class/net/baserequestgenerator.class.php
Log:
fix for http://bugs.lifetype.net/view.php?id=1108. I did tests with s9y and b2evolution (although b2 was only a one-way test). Plus I read through all the specs of rdf-based pingbacks and I think we should be perfectly fine with dashes in the identifier.
Specs: http://www.movabletype.org/docs/mttrackback.html
Modified: plog/branches/lifetype-1.2/class/net/baserequestgenerator.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/net/baserequestgenerator.class.php 2007-02-22 22:03:57 UTC (rev 4841)
+++ plog/branches/lifetype-1.2/class/net/baserequestgenerator.class.php 2007-02-22 22:36:19 UTC (rev 4842)
@@ -402,7 +402,7 @@
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">';
$trackbackLink = $this->getTrackbackUrl()."?id=".$post->getId();
- $postLink = str_replace('-', '%2D', $this->postLink($post));
+ $postLink = $this->postLink($post);
$topic = str_replace('-', '\-', $post->getTopic());
$rdfBody = "<rdf:Description
rdf:about=\"".$postLink."\"
More information about the pLog-svn
mailing list