ZF-8102: Relative URIs in Atom links may fail to be constructed from the base URI value of the feed

Issue Type: Bug Created: 2009-10-19T14:37:15.000+0000 Last Updated: 2009-10-20T07:17:50.000+0000 Status: Resolved Fix version(s): - 1.9.5 (27/Oct/09)

Reporter: Pádraic Brady (padraic) Assignee: Pádraic Brady (padraic) Tags: - Zend_Feed_Reader

Related issues: Attachments:


When parsing an Atom link element, the presence of an empty href attribute fails to trigger a URI construction using the base URI of the feed. Essentially an empty href attribute should be interpreted as being equal to the base URI of the feed.

This can be fixed by detecting relative URIs more robustly and holding the base URI of the feed as a separate cached value to simplify implementation. Some checking should be done to ascertain whether this also effects the RSS parsing class and perhaps add a getBaseUri() method to the feed and entry APIs.


Posted by Pádraic Brady (padraic) on 2009-10-20T07:17:48.000+0000

Fixed in r18654 which also added full support for relative URI parsing.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.