Commit Graph

44 Commits

Author SHA1 Message Date
lionel-rowe
a1f50b4cba
fix(http): use non-locale-sensitive string methods for comparison (#6029) 2024-09-20 17:28:06 +09:00
Ian Bull
3c2ac9fe65
refactor(http): align additional error messages (#5791)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-26 14:05:00 +09:00
Yoshiya Hinosawa
9498a40bb4
fix(http): allow deleting cookie with secure, httpOnly and partitioned attributes (#5354)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-09 13:39:25 +09:00
Asher Gomez
f3ef2b1436
BREAKING(http): improve thrown errors in cookie module (#5129)
refactor(http): improve thrown errors in `cookie` module
2024-06-25 15:20:58 +10:00
Klaas Skelte van der Werf
d35f8a3c2d
feat(http): support partitioned cookies (#5044) 2024-06-15 19:00:46 +12:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
Tim Reichen
8fbd39d54d
chore(http): format test names (#4400)
* initial commit

* remove brackets for classes
2024-02-28 08:03:28 +12:00
Lino Le Van
c46143f0ac
chore: update copyright year (#4046)
* chore: update copyright year

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
Asher Gomez
239e85ad6a
BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
Tiago Gimenes
4b091f695d
fix(http/cookie): accept cookies with value containing = character (#3152) 2023-03-06 16:55:42 +09:00
ayame113
b4239898d6
chore: update copyright header (#3082) 2023-01-03 19:47:44 +09:00
Yoshiya Hinosawa
1d04b7dafd
feat(http/cookie): allow number type for expires param (#2932) 2022-11-24 01:43:35 +09:00
Simon Knott
bba790ecd4
fix(http/cookie): wording for cookie value validation error (#2931) 2022-11-23 22:45:33 +09:00
Asher Gomez
3b9fb39ddd
chore: remove void and Promise<void> return types (#2550) 2022-08-24 10:21:57 +09:00
Asher Gomez
11819ce656
feat(http/cookie): add set-cookie headers parser (#2475) 2022-08-13 23:49:25 +09:00
Yoshiya Hinosawa
808fe203e0
chore: update copyright header (#1871) 2022-02-02 23:21:39 +09:00
Tim Reichen
63f22aa880
BREAKING(http): cookie headers as params (#1041) 2021-09-13 15:16:16 +09:00
Craig Morten
0fc3b2e75e
feat(http): implement native HTTP server APIs (#1128) 2021-08-31 10:36:30 -04:00
Yasser A.Idrissi
3f446475be
feat(http): Add Cookie domain validation (#1009)
Cookie domain should not start with - and end with . or -.
https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.2.3
2021-07-08 13:19:10 -04:00
Yasser A.Idrissi
d8e61e4768
feat(http): Allow passing path and domain attributes while removing cookies (#1005) 2021-07-06 20:57:35 +02:00
Simon Rask
f3828fa852
fix: setCookie with maxAge of 0 (#992) 2021-06-30 14:02:22 -04:00
Yusuke Tanaka
b134d54319
refactor: fix codes to pass no-unused-vars lint (#764) 2021-03-02 15:31:37 +09:00
Ryan Dahl
48a2496dbe update copyright to 2021 (denoland/deno#9081) 2021-02-01 10:46:59 +00:00
Yasser A.Idrissi
9c9982a60f feat(http): Add Cookie value validation (denoland/deno#8471) 2021-02-01 10:46:58 +00:00
Yasser A.Idrissi
a1ba678504 feat(http): Validate cookie path value (denoland/deno#8457) 2021-02-01 10:46:58 +00:00
Yasser A.Idrissi
39513d8750 feat(http): Check if cookie property is valid (denoland/deno#7189)
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2021-02-01 10:46:58 +00:00
David Sherret
99e0dca320 feat(fmt): Sort named import and export specifiers (denoland/deno#7711) 2021-02-01 10:46:58 +00:00
David Sherret
1425960509 Use dprint for internal formatting (denoland/deno#6682) 2021-02-01 10:46:58 +00:00
Nayeem Rahman
ccb92613f0 refactor: Don't destructure the Deno namespace (denoland/deno#6268) 2021-02-01 10:46:58 +00:00
Tim Reichen
c2f9a73439 refactor(http): rename delCookie to deleteCookie (denoland/deno#6088) 2021-02-01 10:46:57 +00:00
木杉
407fb3fd73 fix(http): verify cookie name & update SameSite type (denoland/deno#4685) 2021-02-01 10:46:57 +00:00
木杉
3159118cf6 fix(denoland/deno#4550): setCookie should append cookies (denoland/deno#4558) 2021-02-01 10:46:57 +00:00
Kitson Kelly
7914eae5f0 Update to Prettier 2 and use ES Private Fields (denoland/deno#4498) 2021-02-01 10:46:57 +00:00
Yusuke Sakurai
0e35e71503 refactor(http): move io functions to http/io.ts (denoland/deno#4126) 2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
82a523639a refactor: rewrite tests in to use Deno.test (denoland/deno#3930) 2021-02-01 10:46:57 +00:00
Yusuke Sakurai
ee8ec4b053 remove non-null assertion operator from std (part1) (denoland/deno#3900) 2021-02-01 10:46:57 +00:00
Ry Dahl
3a9eb92372 Happy new year! (denoland/deno#3578) 2021-02-01 10:46:56 +00:00
Leo Chandra
a39dbcccf8 fix: datetime toIMF bug (denoland/deno#3357) 2021-02-01 10:46:56 +00:00
Yoshiya Hinosawa
c3fe858f98 Update eslint and @typescript-eslint (#621) 2019-10-05 12:02:34 -04:00
Axetroy
b04fda30c8 lint: add max line length rules (#507) 2019-06-18 21:22:01 -07:00
Bartek Iwańczuk
be24677d15 chore: Implement strict mode (#453) 2019-05-30 08:59:30 -04:00
Vincent LE GOFF
8503efc8f7 http/cookie: fixing equal character split (#368) 2019-04-29 07:49:50 -07:00
Vincent LE GOFF
f111469103 http: Cookie improvements (#359) 2019-04-27 16:07:11 -07:00
Vincent LE GOFF
1d85447886 http : Add cookie module (#338) 2019-04-24 07:38:52 -04:00