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

fix(static): avoid user-provided data in Error messages being interpreted as sprintf codes #1384

Merged
merged 3 commits into from Jun 28, 2017

Commits on Jun 26, 2017

  1. 'static' plugin: avoid user-provided data in Error messages being int…

    …erpreted as sprintf codes
    
    The 'static' plugin had a few cases where the path in a request would be
    passed as the first ("message") field to a RestError constructor.
    RestError uses verror.WError, which uses extsprintf to render the given
    arguments. If the "message" includes "%...s" or similar printf codes,
    then it will error output.
    
    Also bump to 4.3.1.
    trentm committed Jun 26, 2017
    Copy the full SHA
    475142d View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2017

  1. Copy the full SHA
    492416e View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    5ee1008 View commit details
    Browse the repository at this point in the history