Summary: | Imported feed URLs are not HTML-decoded | ||
---|---|---|---|
Product: | [Applications] akregator | Reporter: | Michael Driscoll <fenris> |
Component: | akregator konqueror plugin | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | divided.mind |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Michael Driscoll
2005-05-06 21:51:58 UTC
Confirmed for KDE 3.4 and SVN HEAD ( ah, SVN ;-) ). Has been on my TODO for a while.. Hopefully I have some time in weekend to smash this one. *** Bug 107641 has been marked as a duplicate of this bug. *** SVN commit 429759 by lanius: decode imported html feeds BUG: 105210 M +7 -0 feeddetector.cpp --- trunk/KDE/kdeaddons/konq-plugins/akregator/feeddetector.cpp #429758:429759 @@ -26,6 +26,7 @@ #include <qstring.h> #include <qstringlist.h> #include <qvaluelist.h> +#include <kcharsets.h> #include "feeddetector.h" @@ -87,6 +88,8 @@ if (pos != -1) url = reHref.cap(1); + url = KCharsets::resolveEntities(url); + // if feed has no title, use the url as preliminary title (until feed is parsed) if ( title.isEmpty() ) title = url; @@ -95,6 +98,7 @@ list.append(FeedDetectorEntry(url, title) ); } + return list; } @@ -125,6 +129,9 @@ if ( hrefpos != -1 ) { QString url = reHref.cap(1); + + url = KCharsets::resolveEntities(url); + if ( rssrdfxml.exactMatch(url) ) list.append(url); } |