Trackback - more problems: html entities

Found a bug? Tell us!!
Post Reply
bpkri
Regular
Posts: 41
Joined: Tue Aug 09, 2005 2:31 pm

Trackback - more problems: html entities

Post by bpkri »

After changing the trackback module (making it possible to trackback directly, without auto-discovery of trackback URL) I have a different problem:

Reporting of the trackback status is just wrong now - sometimes!

Okay here is the scenario.

I have this message body:

Code: Select all

...even a good Batman panel appears.

Here is one I discovered just today.

[GIMage size=sized; caption=impressive!]stuff/LoDK19_4.jpg[/GImage]

Just for the details: This is a panel from <strong>Legends of the Dark Knight #197</strong> from <strong>DC Comics</strong>
The persons responsible for this panel  are:
<strong>Will Pfeifer</strong> - writer
<strong>Chris Weston</strong> - artist

Can't say much about the story yet, but I like this panel. The hands of the assaulted, Batman in fron, jumping down, impressive, taking most of his viewspace. Not quite dark enough, but I like it still.

<strong>update</strong>
<em>I couldn't get myself to read it. The graphics were not good enough to keep me hooked. The story was not dense enough to drag me along PLUS: I do not like Batman. On several panels in this comic his face looks way to much like that of a hawk. He looks outright ugly, his body seems somehow compressed, as if he were way more compact, shorter than he usually is. </em>
The checkbox for sending trackbacks is checked. So, as should happen: The system goes and looks for a possible trackback at:

Code: Select all

http://sexy.pirotesse.de/main.php?g2_view=core.ShowItem&g2_itemId=15499
I post this page and everything happens allright.

I go to the front page of my blog. Now I do something else for some time., like an hour.
After an hour I return and edit the post. I add a smiley at the end, after the last em tag.

When I hit publish now, this happens:

Code: Select all

• Checking http://sexy.pirotesse.de/main.php?g2_view=core.ShowItem& for possible trackbacks...
Sending trackback to URI http://sexy.pirotesse.de/main.php?g2_view=core.ShowItem&amp...
• Trackback successful
Your entry has been saved
After hitting save and thus publishing, in the trackback box at the bottom of the edit page form there is this:

Code: Select all

http://sexy.pirotesse.de/main.php?g2_view=core.ShowItem&g2_itemId=15499;http://sexy.pirotesse.de/main.php?g2_view=core.ShowItem&g2_itemId=15499
The problem might be that the & gets converted to & down here, which contains an ";". So as9y thinks: there are new URLs, where it tries to send a trackback to. And even more strange: It reports sending a successcul trackback... O_o
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Trackback - more problems: html entities

Post by garvinhicking »

Yeah, I think the problem is the ";" sign, which is used for splitting URLs.

I just changed it so that a space (" ") is used for separating the URLs, and hope this should work then for the future?! (in version 1.3 of the plugin)

And I think Gallery supports pingbacks to images, that's why a success is reported?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
bpkri
Regular
Posts: 41
Joined: Tue Aug 09, 2005 2:31 pm

Post by bpkri »

Indeed a space should do. URLs don't contain those. Another bug squished. :D

That gallery supports pingback to images would be new to me - and in any case THE url that is tried for pingback here is...err... not valid.

http://sexy.pirotesse.de/main.php?g2_view=core.ShowItem& <-- ???

By th way: It of course also tries to send pingback to images and reports a failure there. Because it IS a failure. Pingback to images doesn't work.

kind regards,
kri
Post Reply