chrisisbeef/jquery-encoder — Issue #5: canonicalize modifies an unencoded string
Author: krinsane
Created: 2012-03-01 22:43:32+00:00
State: open

In other words, it thinks that a string is encoded when it is actually not and therefore if I do something like

$.encoder.encodeForHTML($.encoder.canonicalize(string)), it gives me a different string

The string in question is something like this: "sdf\sdf\sdf"

Canonicalize transforms it into this: sdf�sdf�sdf