stackvana / microcule

SDK and CLI for spawning streaming stateless HTTP microservices in multiple programming languages
Other
479 stars 29 forks source link

Ensure that lua variable names and values are escaped #24

Open Marak opened 7 years ago

Marak commented 7 years ago

Just saw an instance where an environment or http params variable name containing - was causing the lua codegen to crash.

We need to ensure that the lua code won't crash on variable names with - or any other values that need to be escaped. Pretty sure we can do something like: [[lua string with escape codes]]