mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 23:59:27 -05:00
fix(appsync): reject regex literals without misreading division (#7343)
This commit is contained in:
1 parent
b63e4a5bb9
commit
56efb188b1
5 files changed
+678
-59
No files matched your search
+1
-1
@@ -237,7 +237,7 @@ public class NodeAppSyncJsRuntime implements AppSyncJsRuntime, ContainerTeardown
|
||||
* rather than quoted into the shell: it contains the quotes, backticks and newlines of the
|
||||
* {@code @aws-appsync/utils} shim it writes, none of which survive shell interpolation.
|
||||
*/
|
||||
private String startCommand() {
|
||||
String startCommand() {
|
||||
String encoded = Base64.getEncoder().encodeToString(serverScript().getBytes(StandardCharsets.UTF_8));
|
||||
return "echo " + encoded + " | base64 -d > " + SERVER_PATH + " && exec node " + SERVER_PATH;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user