BIROn - Birkbeck Institutional Research Online

    JavaScript internal numerical representations

    Eve, Martin Paul (2007) JavaScript internal numerical representations. martineve.com ,

    [img] Text
    2007-07-05-javascript-internal-numerical-representations.markdown - Published Version of Record
    Available under License Creative Commons Attribution.

    Download (1kB)

    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 Schools and Departments > School of Arts > English and Humanities
    Research Centre: Contemporary Literature, Centre for
    Depositing User: Martin Paul Eve
    Date Deposited: 20 Nov 2016 12:22
    Last Modified: 07 Dec 2016 15:37
    URI: http://eprints.bbk.ac.uk/id/eprint/16809

    Statistics

    Downloads
    Activity Overview
    16Downloads
    67Hits

    Additional statistics are available via IRStats2.

    Archive Staff Only (login required)

    Edit/View Item Edit/View Item