Skip to content

[FR] dynamics string sanitization #467

@scottmconway

Description

@scottmconway

Is your feature request related to a problem? Please describe.
When using dynamics with unknown content (eg. SMS message content), crafting HTTP requests with a JSON body isn't reliable, as you cannot be sure that the string is properly escaped.

Describe the solution you'd like
I would like to be able to post-process a given dynamic to make sure it's properly quoted for a given application (eg. JSON quoting, SQL sanitization, etc.)

Describe alternatives you've considered [optional]
An easy alternative could be to write a termux script that will sanitize my string(s) and forward them instead of doing the sanitization in Easer. Perhaps I could even fire an event to have easer pick up the resulting string and continue in a different script.

I'm quite new to Easer, so I may be overlooking the "right" way to have a pipeline exit/re-enter an Easer script. I'm not sure if this sort of feature should be considered out-of-scope.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions