Skip to content

URLUtils should use encodeURIComponent instead of escape #199

Open
@lannymcnie

Description

@lannymcnie

Currently, the encoding on query strings sent by PreloadJS uses escape(). We should consider using encodeURIComponent instead to make it handle special characters better. jQuery's ajax method uses this (and also encodes the key on each param).

The method is URLUtils.formatQueryString(), currently on line 147.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions