Skip to content

Commit

Permalink
dded that weird field
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Schürmann committed Sep 22, 2013
1 parent 993dc04 commit c6a2009
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/stringify.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ describe('qs.stringify() - new ', function(){
it('should paarse numeric values to strings', function() {
expect(qs.parse('foo=1&bar=2')).to.eql({'foo' : '1', 'bar' : '2'});
});
it('should parse that weird field', function(){
expect(qs.parse('my%20weird%20field=q1!2%22\'w%245%267%2Fz8)%3F')).to.eql({'my weird field': "q1!2\"'w$5&7/z8)?"});
});

});
var date = new Date(0);

Expand Down

0 comments on commit c6a2009

Please sign in to comment.