Title: scvwebfire's Replies | WordPress.org

---

# scvwebfire

  [  ](https://wordpress.org/support/users/scvwebfire/)

 *   [Profile](https://wordpress.org/support/users/scvwebfire/)
 *   [Topics Started](https://wordpress.org/support/users/scvwebfire/topics/)
 *   [Replies Created](https://wordpress.org/support/users/scvwebfire/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/scvwebfire/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/scvwebfire/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/scvwebfire/engagements/)
 *   [Favorites](https://wordpress.org/support/users/scvwebfire/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Curl error](https://wordpress.org/support/topic/curl-error-9/)
 *  [scvwebfire](https://wordpress.org/support/users/scvwebfire/)
 * (@scvwebfire)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/curl-error-9/#post-7410611)
 * (I made an account to post this, so hope it helps)
 * After digging with debugger for a few hours. I found the issue in a new part 
   of WP.
 * In: wp-includes/class-reuqests.php
    Lines: 593-597
 *     ```
       if ($options['idn'] !== false) {
       			$iri = new Requests_IRI($url);
       			$iri->host = Requests_IDNAEncoder::encode($iri->ihost);
       			$url = $iri->uri;
       		}
       ```
   
 * In class Request_IRI, $this->uri seems to be never set.
 * Dirty fix:
 *     ```
       if ($options['idn'] !== false) {
       			$iri = new Requests_IRI($url);
       			$iri->host = Requests_IDNAEncoder::encode($iri->ihost);
       //			$url = $iri->uri;
       		}
       ```
   
 * And wordfence works.
    So it’s either not a wordfence bug. Or somehow the idn 
   option needs to be false for the 4.6.x version.
 * Either way, i’ll look into it better later and make a bug report.

Viewing 1 replies (of 1 total)