Feed
Google+
Contact
XING
LinkedIn
Twitter
ICQ
meebo.com

dasBlog - trackback's cannot be deleted

by Roland Schumacher alias GENiALi 27. September 2006 -- 163 words  -- 1 mal gelesen

I have it already times briefly mentioned. There's always again in the dasBlog
Trackback's that cannot be deleted. I thought, come
waiting for the new version. However, there is version at the 1.9'er
the problem still. Same trackback's are not the one
can delete.

Today I tried to solve the problem again.
There, I've found's. Anyway, I think.:-)

Problem:

The method you want to delete the trackback's is used for example: following
pass.

trackingPermalink--"h**p://SPAM_DOMAIN/1phentermine/cheap-phentermine-online.html"

dasBlog goes through all referrers and trackback's of the posting and
finds the appropriate entry. He is not now found
because it is in the collection as follows in it.

tracking.PermaLink - > "h**p://SPAM_DOMAIN/1phentermine/cheap-phentermine-online.html \r"

The \r is important.

The comparison

String.Compare(tracking.PermaLink,_trackingPermalink,_true)

so therefore must fail. Unfortunately.

Solution:

It is found in the method in the file BlogDataService.cs

BlogDataService.DeleteTracking.

 

I am now so naive, I simply before assessing whether the URL also
does a check installed, the me checks whether the URL to
a \r ends.

 

intbadString = tracking.PermaLink.IndexOf("\r");

if(badString_>_-1)
{
tracking.PermaLink tracking.PermaLink.Remove(badString); =
}

if( String .Compare(tracking.PermaLink,_trackingPermalink,_true) == 0)
& & trackingType == tracking.TrackingType)
{

 

Still point is whether I have correctly solved. If not, then let
me know.

Tags:

Kommentare sind geschlossen

Statistik

Gesamte Posts: 1025
Dieses Jahr: 7
Diesen Monat: 1
Diese Woche: 0
Kommentare: 929
Total Bewertungen: 91
Ø Bewertung: 4,42
Meisten Kommentare
Google+ ... (28)
Beste Ø Bewertung
Tastaturlayout von Visual Stud ... (5)
Meiste Bewertungen
Windows 7 und die ersten Erfah ... (5)

Buttons

Stop Spam Harvesters, Join Project Honey Pot Benutzerprofil von GENiALi connection speed test network connection Bloggeramt.de Slug.ch Blog Verzeichnis und Blog Webkatalog Schumacher Roland Seitwert Valid XHTML 1.0 Transitional

writing