SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

fix($http): fix double-quoted date issue when encoding params

This commit special cases date handling rather than calling toJSON as we always need
a string representation of the object.

$http was wrapping dates in double quotes leading to query strings like this:
  ?date=%222014-07-07T23:00:00.000Z%22

Closes #8150
Closes #6128
Closes #8154
D
Dan Barua committed
2f960f1530ed936c57df612a352a0d996368f6a1
Parent: 3f5f20f
Committed by Igor Minar <igor@angularjs.org> on 7/16/2014, 12:18:38 AM