JavaScript internal numerical representations
Eve, Martin Paul (2007) JavaScript internal numerical representations. martineve.com ,
![]() |
Text
2007-07-05-javascript-internal-numerical-representations.markdown - Published Version of Record Available under License Creative Commons Attribution. Download (1kB) |
Official URL: https://www.martineve.com/2007/07/05/javascript-in...
Abstract
Whilst working on the next release of .NETIDS I came across some interesting info about the parsing of numbers within JavaScript - information that is of particular relevance when it comes to filtering against String.fromCharCode injection attempts. The first item of interest is that JavaScript will parse hexadecimal in the form 0xYY even when not enclosed in quotes (ie. as a string), so this can be used in fromCharCode.
Metadata
Item Type: | Article |
---|---|
School: | School of Arts > English, Theatre and Creative Writing |
Research Centres and Institutes: | Contemporary Literature, Centre for |
Depositing User: | Martin Eve |
Date Deposited: | 20 Nov 2016 12:22 |
Last Modified: | 07 Dec 2016 15:37 |
URI: | https://eprints.bbk.ac.uk/id/eprint/16809 |
Statistics
Downloads
Activity Overview
6 month trend
6 month trend
Additional statistics are available via IRStats2.