Changeset 5682

Show
Ignore:
Timestamp:
06/11/07 23:19:33 (1 year ago)
Author:
ryan
Message:

escapeshellarg the sender

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/class-phpmailer.php

    r5390 r5682  
    391391    function SendmailSend($header, $body) { 
    392392        if ($this->Sender != "") 
    393             $sendmail = sprintf("%s -oi -f %s -t", $this->Sendmail, $this->Sender); 
     393            $sendmail = sprintf("%s -oi -f %s -t", $this->Sendmail, escapeshellarg($this->Sender)); 
    394394        else 
    395395            $sendmail = sprintf("%s -oi -t", $this->Sendmail);