Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escape quotes in string literals #2545

Merged
merged 3 commits into from
Mar 12, 2019

Commits on Mar 11, 2019

  1. Escape quotes in string literals

    This patch changes SqlToJavaVisitor to escape quotes in string literals. This
    protects code gen against java code injection attacks. The patch also includes
    a query-validation-test that demonstrates how one might inject java code
    rodesai committed Mar 11, 2019
    Configuration menu
    Copy the full SHA
    32e23a5 View commit details
    Browse the repository at this point in the history
  2. drop unintended change

    rodesai committed Mar 11, 2019
    Configuration menu
    Copy the full SHA
    d884e53 View commit details
    Browse the repository at this point in the history
  3. Use StringEscapeUtils

    rodesai committed Mar 11, 2019
    Configuration menu
    Copy the full SHA
    64d5dfb View commit details
    Browse the repository at this point in the history