Project

General

Profile

Bug #25298

Updated by Mathias Schreiber almost 10 years ago

Problem: 
 ------------------------- 
 In File "class.tslib_content_media.php" in line 158 the flashvars will be exploded at the "=" sign into key and value. But all "=" signs in the value part are exploded too. Such a value is possible for e.g. an URL to get a dynamic XML for the flash application:    index.php?id=2&type=96 


 Solution: 
 ------------------------- 
 The trimExplode must be called with an fourth parameter to limit the parts to two. 

 Change: 
 $valueParts = t3lib_div::trimExplode('=', $parts[1], TRUE); 

 To: 
 $valueParts = t3lib_div::trimExplode('=', $parts[1], TRUE, 2); 




 




 (issue imported from #M17913)

Back