geozak
geozak
In UserModel::editUserName($new_user_name) you use preg_match to validate the pattern. wouldn't it be better to use: ``` php if(!RegistrationModel::validateUserName($new_user_name)) { return false; } ``` instead of retypeing the regular expression This...
These are changes to address a potential attack method revealed in discussion within #776 These changes make it so that if an attack were to try at guessing a user's...
Created a template view to use for friendly redirection. Made Redirect class methods render the redirect view then exit to prevent other views from rendering. Replaced uses of header('location: ...')...
I ran this code in NodeJS console using npm version "^1.2.3" ``` var wrap = require('word-wrap'); var test = '1234 12345678'; var arguments = {width: 10, indent: ' ', newline:...