[syndication] [Bug 398071] New: feed autodiscovery relies on link attributes being in a certain order.

wolthera bugzilla_noreply at kde.org
Thu Aug 30 17:02:06 BST 2018


https://bugs.kde.org/show_bug.cgi?id=398071

            Bug ID: 398071
           Summary: feed autodiscovery relies on link attributes being in
                    a certain order.
           Product: syndication
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: griffinvalley at gmail.com
  Target Milestone: ---

Right now, when pasting a regular url into akregator, akregator can find the
related feed if the header contains something along the lines of this:

<link rel="alternate" title="something" type="application/atom+xml"
href="urlto.atom">

However, because syndication, which is how akregator offers this feature, uses
a regexp to parse this value, the following is not found:

<link href="urlto.atom" rel="alternate" title="something"
type="application/atom+xml" >

Because the href and ref are not in the order the regexp looks for them.

It does this at loader.cpp 149
Phabricator link:
https://phabricator.kde.org/source/syndication/browse/master/src/loader.cpp$149

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list