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 issue with values not being quoted #1

Merged
merged 1 commit into from
Apr 19, 2017

Conversation

chrisminett
Copy link
Member

Values given to add() are not being correctly quoted when building the SQL.

This basically means that BulkInsert doesn't work with any string values, and is a security risk.

This should be an immediate patch release.

@chrisminett chrisminett self-assigned this Apr 19, 2017
@codecov
Copy link

codecov bot commented Apr 19, 2017

Codecov Report

Merging #1 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##             master      #1   +/-   ##
========================================
  Coverage      97.5%   97.5%           
  Complexity       35      35           
========================================
  Files             3       3           
  Lines           120     120           
========================================
  Hits            117     117           
  Misses            3       3
Impacted Files Coverage Δ Complexity Δ
src/BulkInsert.php 100% <100%> (ø) 24 <0> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d2bd142...0744fab. Read the comment docs.

@chrisminett chrisminett merged commit f7148e6 into master Apr 19, 2017
@chrisminett chrisminett deleted the issue/value-not-quoted branch April 19, 2017 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants