"+" sign in a string gets transformed to a space #1194

Closed
smithkl42 opened this Issue Dec 21, 2012 · 6 comments

Comments

Projects
None yet
3 participants

In 1.0 RC1, any "+" sign that I send up in a string gets converted to a space character. For instance:

var expected = {
    var1: "ken",
    var2: "++"
};

$.connection.testHub.server.echo(expected).done(function (hubified) {
    // hubified.var1 is correct
    // hubified.var2 is just spaces
});

I've only tested this with long polling - no idea if it happens with WebSockets.

Owner

davidfowl commented Dec 21, 2012

Is it only in self host?

I've tested it on both self-host and IIS, and it happens on both.

Owner

davidfowl commented Dec 21, 2012

Ok

davidfowl was assigned Dec 21, 2012

Owner

davidfowl commented Dec 21, 2012

Fixed in 157304a

Thanks, David. You're very efficient.

Contributor

Xiaohongt commented Jan 3, 2013

verified

Xiaohongt closed this Jan 3, 2013

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