Thread: [aKregator-devel] [Bug 116527] New: relative url in link isn't imported properly
Brought to you by:
lippel
From: Mirko S. <me...@mi...> - 2005-11-16 22:29:33
|
------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=116527 Summary: relative url in link isn't imported properly Product: akregator Version: unspecified Platform: Compiled Sources OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: akregator konqueror plugin AssignedTo: akregator-devel lists sourceforge net ReportedBy: me misto ch Version: revision 480867 (using KDE KDE 3.5.0) Installed from: Compiled From Sources When I import a feed which is announced as a relative url, an invalid url gets imported into akregator. For example: <link rel="alternate" type="application/rdf+xml" title="recent changes RSS" href="rss.cgi"> from the website http://wiki.ita.hsr.ch/PnProg/changes.cgi is imported as http://wiki.ita.hsr.ch/PnProg/changes.cgi/rss.cgi instead of http://wiki.ita.hsr.ch/PnProg/rss.cgi I've created a patch, in fact it's quite simple: =================================================================== --- pluginbase.cpp (revision 480867) +++ pluginbase.cpp (working copy) @ -89,7 +89,7 @ else { u=baseurl; - u.addPath(s2); + u.setFileName(s2); } u.cleanPath(); } =================================================================== I hope it doesn't create any further problems. If it gets accepted, this would be my first contribution to an opensource project :) |
From: Eckhart Wör. <kd...@ew...> - 2005-12-02 18:50:15
|
------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=116527 kde ewsoftware de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW everconfirmed|0 |1 |
From: Frank O. <fra...@kd...> - 2006-01-25 21:53:00
|
------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=116527 frank.osterfeld kdemail net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From frank.osterfeld kdemail net 2006-01-25 22:52 ------- This was fixed in the meantime by using KURL(baseurl, url) for resolving relative links. Closing. |