BUG 12475 "Request for the SYSGENERIC (Possible bug?)" SOLVED
- When data is sending by the URI, the path no is valid - Solved problem, add validation when data is sending with URI * Available from version ProcessMaker-2.5.2-testing.1
This commit is contained in:
@@ -408,7 +408,9 @@ if (Bootstrap::virtualURI( $_SERVER['REQUEST_URI'], $virtualURITable, $realPath
|
||||
|
||||
//Get that path in array
|
||||
$paths = explode( PATH_SEP, $forQuery[0] );
|
||||
$fileToBeStreamed = str_replace( "/skin/", PATH_CUSTOM_SKINS, $_SERVER['REQUEST_URI'] );
|
||||
$url = (preg_match("/^(.*)\?.*$/", $_SERVER["REQUEST_URI"], $arrayMatch))? $arrayMatch[1] : $_SERVER["REQUEST_URI"];
|
||||
|
||||
$fileToBeStreamed = str_replace("/skin/", PATH_CUSTOM_SKINS, $url);
|
||||
|
||||
if (file_exists( $fileToBeStreamed )) {
|
||||
//NewRelic Snippet - By JHL
|
||||
|
||||
Reference in New Issue
Block a user