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

Bug 1918153: incorrect escaping of HTML symbols in envars #215

Commits on Feb 1, 2021

  1. Fixed incorrect escaping of HTML symbols in envars

    When building from source using docker strategy, keys and values
    for environment variables from BuildConfig and labels have been
    marshalled to json strings to put them in quotes and do escaping.
    Problem was, this marshalling also escapes html symbols <>&, which
    should be allowed in values of environment variables and labels.
    Solution is to process keys and values with strconv.Quote function
    in order to escape only non-printable and control characters.
    Alice Rum committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    7f90723 View commit details
    Browse the repository at this point in the history