Skip to content

Sanitise query? #48

Description

@Meowzz95
var objs = _sfClient.Query<XXX>(
                @$"SELECT Id
  FROM Table
  WHERE something='{dangerousString}'
");

The above usage is vulnerable to injection, is there a way to sanitise the input?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions