diff -r 299a90e28abc -r 87e08a6e4fec includes/clientside/static/misc.js --- a/includes/clientside/static/misc.js Thu Jan 03 18:39:19 2008 -0500 +++ b/includes/clientside/static/misc.js Wed Jan 16 13:55:49 2008 -0500 @@ -565,32 +565,8 @@ disableJSONExts(); - // - // Encryption test - // + var auth_enabled = aes_self_test(); - var str = ''; - for(i=0;i&\?\'"%\n\r/]+$', ''); + return ( username.match(regex) ) ? true : false; +} + +/** * Equivalent of PHP's time() * @return int */