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

XSS false positive when using to_i #1031

Closed
JasonBarnabe opened this Issue Apr 18, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@JasonBarnabe
Contributor

JasonBarnabe commented Apr 18, 2017

:javascript
  factory.printing.copies = #{params[:copies]&.to_i || 1};

"Unescaped parameter value"

presidentbeef added a commit that referenced this issue Apr 20, 2017

@presidentbeef

This comment has been minimized.

Show comment
Hide comment
@presidentbeef

presidentbeef Apr 20, 2017

Owner

Not really about to_i but about &. instead.

Owner

presidentbeef commented Apr 20, 2017

Not really about to_i but about &. instead.

Repository owner locked and limited conversation to collaborators May 26, 2017

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