Merge pull request #63 from talentedmrjones/master

fixed an issue where passing a real integer would produce "has no method match" error
Generate a random hash
Expose default errors, closes #67
Cleanup
Added test to the valid urls which checks for special characters that are allowed unencoded inside a URL

As stated: http://www.ietf.org/rfc/rfc1738.txt:

"Thus, only alphanumerics, the special characters "$-_.+!*'(),", and
   reserved characters used for their reserved purposes may be used
   unencoded within a URL."
Merge pull request #70 from RSO/master

Bug in url-validation
Allow special chars in url, closes #70
Bump
Whitelist localhost in isUrl for now. Look at removing the TLD restriction later on. #69
Fix global leaks in xss()
Merge pull request #71 from romihartantoau/master

Global leaks in xss()
Bump
Fix obvious bugs in xss, re #74
Get rid of unnecessary back references and octals, re #74
Fix filter_attributes, closes #74
Bump
Fix filter_attributes again, re #74
Use a normal for loop, closes #76
Fixed https://github.com/chriso/node-validator/issues/77 semicolon in wrong place when ensuring semicolon in an entity like &#39;
Merge pull request #79 from boutell/master

Fixed semicolon in wrong place in entities like &#39; (apostrophe)