JavaScript internal numerical representations
Eve, Martin Paul (2007) JavaScript internal numerical representations. eve.gd ,
Text
2007-07-05-javascript-internal-numerical-representations.markdown - Published Version of Record Available under License Creative Commons Attribution. Download (1kB) |
Official URL: https://eve.gd/2007/07/05/javascript-internal-nume...
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: | Birkbeck Faculties and Schools > Faculty of Humanities and Social Sciences > School of Creative Arts, Culture and Communication |
Research Centres and Institutes: | Contemporary Literature, Centre for |
Depositing User: | Martin Eve |
Date Deposited: | 20 Nov 2016 12:22 |
Last Modified: | 24 Aug 2023 13:55 |
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.