Closed sgtwinters closed 6 years ago
Hey man.. thanks a lot for your PR.. wouldn't it be better to use the addslashes
function here? Maybe a "double quote" will also break the function here?
addslashes
: http://php.net/manual/en/function.addslashes.php
Without a doubt, new PR coming up ;)
you could have updated this PR accordingly. No need to submit a new PR.. ;) Thank you very much - let's continue in the new PR..
This is a suggestion to fix #12.
While looking into this I also found out that passing single quotes text as query parameters is breaking things. Therefore I added escaping to the
setQueryParameters
method as well.