[wp-trac] [WordPress Trac] #24646: fetch_feed() returns WP_Error with "A valid URL was not provided"

WordPress Trac noreply at wordpress.org
Thu Jun 27 19:58:04 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 faceinthecrowd):

 I have the same trouble with our environment. The problem is that internal
 DNS resolves our news feed (on a different server) to a private IP
 address, however to anyone outside our network, the IP will resolve to the
 public, NAT'd address, which ''would'' validate. We have had to disable
 the reject_unsafe_url check for this to work in our environment, though we
 do not want to do this for obvious reasons.

 I feel like this is a pretty common configuration where internal/external
 DNS will resolve to different IP addresses and there needs to be a more
 robust check for these conditions, though I am not experienced enough to
 help with the resolution.

 Will

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24646#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list