The latest version of the book is P1.0, released over 4 years ago. If you've bought a PDF of the book and would like to update it to this version (for free), visit your home page.
By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:
If you've found a new error, please submit it.
- Reported in: P1.0 (25-Feb-16)
PDF page: safar
Query doesn't work for Karl. Generated SQL: SELECT * FROM accounts WHERE name="'karl'"
Fix: 'SELECT * FROM accounts WHERE name=' + connection.escape(req.params.name)--Matt
- Reported in: P1.0 (09-May-18)
PDF page: 99
-var RedisStore = require('connect-redis')(express);
+var RedisStore = require('connect-redis')(session);--Roldan Salazar