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 #1472

Merged
merged 1 commit into from Sep 7, 2017

Commits on Sep 3, 2017

  1. fix(static): avoid user-provided data in Error messages being interpr…

    …eted as sprintf codes (#1384)
    
    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.
    
    * drop ver bump changes, per review comments
    
    * update test name and drop comment (unnecessary with issue ref) per review comments
    trentm authored and DonutEspresso committed Sep 3, 2017
    Copy the full SHA
    a1342b1 View commit details
    Browse the repository at this point in the history