Skip to content

Commit 3a9007a

Browse files
I suppose there's no need to expect slash or plain quotes inside a value
DQUOTE is invalid within a cookie-octet, it is only valid when in the start or in the end of the cookie-value.
1 parent 6f6210f commit 3a9007a

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎test/tests.js‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -229,12 +229,6 @@ test('RFC 6265 - cookie-octet enclosed in DQUOTE', function () {
229229
strictEqual(Cookies.get('c'), 'v', 'should decode the quotes');
230230
});
231231

232-
test('RFC 6265 - cookie-octet with quotes enclosed in DQUOTE', function() {
233-
expect(1);
234-
document.cookie = 'c="with"quotes"';
235-
strictEqual(Cookies.get('c'), 'with"quotes', 'should decode the quotes');
236-
});
237-
238232
test('RFC 6265 - disallowed characters in cookie-octet', function () {
239233
expect(5);
240234

0 commit comments

Comments
 (0)