-
Notifications
You must be signed in to change notification settings - Fork 506
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
Disable SQL error output on production #1597
Comments
Looking at the referenced pages. We are using prepared statements, and escaping, however we're still outputting debug info in production. We just need to fix this in the deployment scripts |
@tuxpiper could you look at this? we should be setting |
Hrm. Actually maybe I'm wrong. We might still be outputting the error regardless of KOHANA_ENV. Guess we need to sanitize those errors somehow |
yep we have KOHANA_ENV=production everywhere I checked |
I've set APP_ENV and APP_DEBUG in the lumen builds now. This should be resolved once lumen gets to production |
Closing as lumen is out now |
Reopening this needs to be verified in prod |
It looks like there are still some minor issues.
|
This seems to have been resolved . I am no longer getting any SQL . |
Not only that, but if the chosen ID is not duplicate, the operation goes ahead without a hitch. I don't think choosing the ID of the post should be allowed. Looks like maybe this needs its own issue? (thoughts @rowasc? ) |
oh. Yea the id should not be allowed in POST operations @tuxpiper Yea a new issue would be fine for the new use case and then we can close this one |
Closing since it's not occurring anymore . Opened #3600 for the other anomalous behavior reported in comments. |
Expected behaviour
Actual behaviour
Steps to reproduce the behaviour/error
The text was updated successfully, but these errors were encountered: