Skip to content

Commit da95431

Browse files
committed
DF-1287 Fixed NodeJS (and Python) script execution for large script. Made script size configurable
1 parent ded79d0 commit da95431

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

55
## [Unreleased]
6+
### Fixed
7+
- DF-1287 Fixed NodeJS (and Python) script execution for large script. Made script size configurable
8+
69
## [0.8.0] - 2017-12-28
710
### Added
811
- DF-1254 Allowed setting response headers in all cases

src/Engines/ExecutedEngine.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,14 @@ public static function loadScriptingModule($module)
137137

138138
protected function getWritablePath($identifier)
139139
{
140+
$identifier = uniqid($identifier . "_", true);
140141
$filePath = storage_path('scripting' . DIRECTORY_SEPARATOR . $identifier);
141142
if ($this->fileExtension) {
142143
$filePath .= '.' . $this->fileExtension;
143144
}
144145

146+
147+
145148
return $filePath;
146149
}
147150

0 commit comments

Comments
 (0)