[wp-trac] [WordPress Trac] #24646: fetch_feed() returns WP_Error with "A valid URL was not provided"
WordPress Trac
noreply at wordpress.org
Tue Jul 2 13:50:41 UTC 2013
#24646: fetch_feed() returns WP_Error with "A valid URL was not provided"
--------------------------+--------------------
Reporter: husdaman | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5.3
Component: Feeds | Version: 3.5.2
Severity: major | Resolution:
Keywords: |
--------------------------+--------------------
Comment (by joehoyle):
I recently ran into this (well, @matthue did!) with local development.
When local site "A" wants to send a request to local site "B", it will be
rejected, as that resolves to 127.0.0.1 via the hosts file. I think this
is the pattern a lot of developers use with vhosts etc, so might be worth
consideration if this goes into the next release from trunk.
I don't know the exact security vulnerability and don't need to discuss
that here, just wanted to point out (at least my) development process is
affected by this change.
Another setup I run on a prod box is 2 sites on the same machine, where
they have "127.0.0.1 example.com" in the hosts file, which I believe again
would mean wp_http_validate_url would brake communication between the two
sites.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24646#comment:26>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list