Make WordPress Core


Ignore:
Timestamp:
11/29/2005 02:07:30 PM (19 years ago)
Author:
ryan
Message:

escapeshell SA17779

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-snoopy.php

    r3191 r3235  
    10151015
    10161016        $safer_URI = strtr( $URI, "\"", " " ); // strip quotes from the URI to avoid shell access
    1017         exec($this->curl_path." -D \"$headerfile\"".$cmdline_params." \"".$safer_URI."\"",$results,$return);
     1017        exec(escapeshellcmd($this->curl_path." -D \"$headerfile\"".$cmdline_params." \"".$safer_URI."\""),$results,$return);
    10181018       
    10191019        if($return)
Note: See TracChangeset for help on using the changeset viewer.