Changeset 752
- Timestamp:
- 01/21/08 15:33:15 (11 months ago)
- Files:
-
- branches/1.0.x/lib/jelix/utils/jMailer.class.php (modified) (1 diff)
- branches/1.0.x/lib/jelix/utils/jMailer.class.php (modified) (1 diff)
- branches/1.0.x/lib/jelix/utils/jMailer.class.php (modified) (1 diff)
- trunk/lib/jelix/utils/jMailer.class.php (modified) (1 diff)
- trunk/lib/jelix/utils/jMailer.class.php (modified) (1 diff)
- trunk/lib/jelix/utils/jMailer.class.php (modified) (1 diff)
- trunk/TODO_RELEASE (added)
- trunk/TODO_RELEASE (added)
- trunk/TODO_RELEASE (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0.x/lib/jelix/utils/jMailer.class.php
r713 r752 405 405 protected function SendmailSend($header, $body) { 406 406 if ($this->Sender != "") 407 $sendmail = sprintf("%s -oi -f %s -t", $this->Sendmail, $this->Sender);407 $sendmail = sprintf("%s -oi -f %s -t", escapeshellcmd($this->Sendmail), escapeshellarg($this->Sender)); 408 408 else 409 $sendmail = sprintf("%s -oi -t", $this->Sendmail);409 $sendmail = sprintf("%s -oi -t", escapeshellcmd($this->Sendmail)); 410 410 411 411 if(!@$mail = popen($sendmail, "w")) branches/1.0.x/lib/jelix/utils/jMailer.class.php
r713 r752 405 405 protected function SendmailSend($header, $body) { 406 406 if ($this->Sender != "") 407 $sendmail = sprintf("%s -oi -f %s -t", $this->Sendmail, $this->Sender);407 $sendmail = sprintf("%s -oi -f %s -t", escapeshellcmd($this->Sendmail), escapeshellarg($this->Sender)); 408 408 else 409 $sendmail = sprintf("%s -oi -t", $this->Sendmail);409 $sendmail = sprintf("%s -oi -t", escapeshellcmd($this->Sendmail)); 410 410 411 411 if(!@$mail = popen($sendmail, "w")) branches/1.0.x/lib/jelix/utils/jMailer.class.php
r713 r752 405 405 protected function SendmailSend($header, $body) { 406 406 if ($this->Sender != "") 407 $sendmail = sprintf("%s -oi -f %s -t", $this->Sendmail, $this->Sender);407 $sendmail = sprintf("%s -oi -f %s -t", escapeshellcmd($this->Sendmail), escapeshellarg($this->Sender)); 408 408 else 409 $sendmail = sprintf("%s -oi -t", $this->Sendmail);409 $sendmail = sprintf("%s -oi -t", escapeshellcmd($this->Sendmail)); 410 410 411 411 if(!@$mail = popen($sendmail, "w")) trunk/lib/jelix/utils/jMailer.class.php
r713 r752 405 405 protected function SendmailSend($header, $body) { 406 406 if ($this->Sender != "") 407 $sendmail = sprintf("%s -oi -f %s -t", $this->Sendmail, $this->Sender);407 $sendmail = sprintf("%s -oi -f %s -t", escapeshellcmd($this->Sendmail), escapeshellarg($this->Sender)); 408 408 else 409 $sendmail = sprintf("%s -oi -t", $this->Sendmail);409 $sendmail = sprintf("%s -oi -t", escapeshellcmd($this->Sendmail)); 410 410 411 411 if(!@$mail = popen($sendmail, "w")) trunk/lib/jelix/utils/jMailer.class.php
r713 r752 405 405 protected function SendmailSend($header, $body) { 406 406 if ($this->Sender != "") 407 $sendmail = sprintf("%s -oi -f %s -t", $this->Sendmail, $this->Sender);407 $sendmail = sprintf("%s -oi -f %s -t", escapeshellcmd($this->Sendmail), escapeshellarg($this->Sender)); 408 408 else 409 $sendmail = sprintf("%s -oi -t", $this->Sendmail);409 $sendmail = sprintf("%s -oi -t", escapeshellcmd($this->Sendmail)); 410 410 411 411 if(!@$mail = popen($sendmail, "w")) trunk/lib/jelix/utils/jMailer.class.php
r713 r752 405 405 protected function SendmailSend($header, $body) { 406 406 if ($this->Sender != "") 407 $sendmail = sprintf("%s -oi -f %s -t", $this->Sendmail, $this->Sender);407 $sendmail = sprintf("%s -oi -f %s -t", escapeshellcmd($this->Sendmail), escapeshellarg($this->Sender)); 408 408 else 409 $sendmail = sprintf("%s -oi -t", $this->Sendmail);409 $sendmail = sprintf("%s -oi -t", escapeshellcmd($this->Sendmail)); 410 410 411 411 if(!@$mail = popen($sendmail, "w"))
