View | Details | Raw Unified | Return to bug 136704
Collapse All | Expand All

(-)ampache-3.3.1.2.orig/modules/amazon/Snoopy.class.php (-1 / +2 lines)
Lines 979-985 Link Here
979
			$headers[] = "Authorization: BASIC ".base64_encode($this->user.":".$this->pass);
979
			$headers[] = "Authorization: BASIC ".base64_encode($this->user.":".$this->pass);
980
			
980
			
981
		for($curr_header = 0; $curr_header < count($headers); $curr_header++)
981
		for($curr_header = 0; $curr_header < count($headers); $curr_header++)
982
			$cmdline_params .= " -H \"".$headers[$curr_header]."\"";
982
			$safer_header = strtr( $headers[$curr_header], "\"", " " );
983
			$cmdline_params .= " -H \"".$safer_header."\"";
983
		
984
		
984
		if(!empty($body))
985
		if(!empty($body))
985
			$cmdline_params .= " -d \"$body\"";
986
			$cmdline_params .= " -d \"$body\"";

Return to bug 136704