Skip to content

Large integers get modified in "ga-args" #1

Description

@mbertschler

If this gets clicked on:

<div class="ga" ga-on="click" ga-action="edit" ga-args="8439759739205665724">

The following action is sent to the server:

guiapi action: edit args: 8439759739205666000 state: null

The last digits of the number were replaced by 000. This is likely due to this number being a large 64 bit integer that can't be represented exactly by a JS number.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions