Commit graph

47 commits

Author SHA1 Message Date
Mike Dalessio
e5b73f3b0a
version bump to v1.1.0 2025-09-26 09:37:59 -04:00
Mike Dalessio
467b84fedf
version bump to v1.0.8 2024-12-05 17:30:16 -05:00
Mike Dalessio
9efa5792ba
version bump to v1.0.7 2024-06-06 15:33:41 -04:00
Akinori MUSHA
b2019f9c10 Bump VERSION to 1.0.6 2024-06-01 11:51:42 +09:00
Mike Dalessio
22ea7af086
fix: be explicit about frozen string literals to quash warnings 2024-03-24 10:02:56 -04:00
Akinori MUSHA
8930674adf Change the custom URI parser to be a bit more conservative
First try the default URI(), and if it fails relax the restrictions on
the path component as a fallback.
2023-11-02 01:48:31 +09:00
Christian Schmidt
27cc46c1d7 URI.for is not supported on old rubies 2023-10-13 07:19:11 +02:00
Christian Schmidt
052479536c Allow non-RFC 3986-compliant URLs 2023-10-12 18:34:07 +02:00
Akinori MUSHA
b1202f959e Bump VERSION to 1.0.5 2022-05-25 17:14:50 +09:00
Akinori MUSHA
930d8242cf Bump VERSION to 1.0.4 2016-11-25 01:54:53 +09:00
Akinori MUSHA
f4a18a76ca Bump VERSION to 1.0.3 2016-09-30 20:01:40 +09:00
Akinori MUSHA
7f94a9e5d9 Treat comma as normal character in HTTP::Cookie.cookie_value_to_hash
As pointed out in CVE-2016-7401, treating comma in a Cookie header value
as separator may cause security problems.
2016-09-30 19:20:39 +09:00
Akinori MUSHA
d3d4f0dafe Bump VERSION 1.0.2. 2013-09-10 14:52:55 +09:00
Akinori MUSHA
b934db8e77 Bump VERSION to 1.0.1 and add CHANGELOG.md. 2013-04-21 21:46:31 +09:00
Akinori MUSHA
d2eb1289f5 Bump VERSION to 1.0.0. 2013-04-17 10:28:17 +09:00
Akinori MUSHA
892c07024d Add rdoc markups. 2013-04-17 01:14:45 +09:00
Akinori MUSHA
a1cfe6bb70 Remove unused code. 2013-04-17 01:14:22 +09:00
Akinori MUSHA
bf9bbe3da8 Move Array#sort_by! to http/cookie/ruby_compat. 2013-04-16 22:15:29 +09:00
Akinori MUSHA
c293005676 Bump VERSION to 1.0.0.pre12. 2013-04-16 02:44:26 +09:00
Akinori MUSHA
ea45ee3b38 Bump the version to 1.0.0.pre11. 2013-04-15 10:16:28 +09:00
Akinori MUSHA
03627aa42a Fix Hash.try_convert. 2013-04-15 09:33:47 +09:00
Akinori MUSHA
88e3f28591 Directly define String#try_convert and Hash#try_convert in ruby 1.8. 2013-04-14 18:22:30 +09:00
Akinori MUSHA
39861d2dbb Fix time value validation. 2013-04-14 13:47:49 +09:00
Akinori MUSHA
9a6b18463b scan_name never returns nil because RE_NAME matches an empty string. 2013-04-14 13:29:08 +09:00
Akinori MUSHA
6ec66d11ed Restore and improve compatibility with ruby 1.8. 2013-04-14 13:01:37 +09:00
Akinori MUSHA
e1857d76a4 Add Cookie.cookie_value and Cookie.cookie_value_to_hash. 2013-04-12 02:15:13 +09:00
Akinori MUSHA
8c30527293 Update rdoc and comments. 2013-04-12 20:22:50 +09:00
Akinori MUSHA
db2a4afff1 Bump VERSION to 1.0.0.pre10. 2013-04-07 23:10:25 +09:00
Akinori MUSHA
9b4ce19873 Bump VERSION to 1.0.0.pre9. 2013-04-03 18:08:56 +09:00
Akinori MUSHA
5a78013d85 Bump the version to 1.0.0.pre8. 2013-03-29 01:58:43 +09:00
Akinori MUSHA
ef7bdeefba Cookie#cookie_value too should quote values if necessary. 2013-03-28 22:06:19 +09:00
Akinori MUSHA
3131a46f14 Bump the version to 1.0.0.pre7. 2013-03-28 19:13:04 +09:00
Akinori MUSHA
c787b0b9dc Bump VERSION to 1.0.0.pre6. 2013-03-28 00:16:51 +09:00
Akinori MUSHA
8aa9ed9e6c Bump VERSION to 1.0.0.pre5. 2013-03-27 21:17:07 +09:00
Akinori MUSHA
c53579c231 Bump VERSION to 1.0.0.pre4. 2013-03-27 19:52:14 +09:00
Akinori MUSHA
b58736957d Bump VERSION to 1.0.0.pre3. 2013-03-27 16:10:11 +09:00
Akinori MUSHA
30920cae9c Bump VERSION to 1.0.0.pre2. 2013-03-23 02:03:17 +09:00
Akinori MUSHA
ba3ea4cd33 Bump the version number high up to 1.0.0.pre1. 2013-03-21 17:56:08 +09:00
Akinori MUSHA
96dabc8288 Add 1.8 compatibility. 2013-03-21 17:31:05 +09:00
Akinori MUSHA
ddf74fee1e Rewrite the Set-Cookie header parser entirely.
The new parser is almost RFC 6265 compliant as the previous
implementation but has some extensions:

- It can parse double-quoted values with unsafe characters inside
  escaped with the backslash.

- It parses a date value of the expires attribute in the way the RFC
  describes, with an exception that it allows omission of the seconds
  field.  Some of the broken date representations that used to pass
  are now treated as error and ignored.

- It can parse a Set-Cookie value that contains multiple cookie
  definitions separated by comma, and commas put inside double quotes
  are not mistaken as definition separator.
2013-03-21 15:52:22 +09:00
Akinori MUSHA
1eb25f4ab9 Bump VERSION to 0.1.5. 2013-03-18 00:53:14 +09:00
Akinori MUSHA
cbb25195d4 Bump VERSION to 0.1.4. 2013-03-15 19:25:16 +09:00
Akinori MUSHA
d2cb5ff69d Bump VERSION to 0.1.3. 2013-03-15 12:31:49 +09:00
Akinori MUSHA
631608f82d Bump VERSION to 0.1.2. 2013-03-15 12:14:58 +09:00
Akinori MUSHA
a74db60721 Bump VERSION to 0.1.1. 2013-03-15 11:36:58 +09:00
Akinori MUSHA
c2e0dbb96f Bump VERSION to 0.1.0. 2013-03-15 10:52:04 +09:00
Akinori MUSHA
060fc63c2a Import cookie related stuff from Mechanize. 2012-10-14 18:52:52 +09:00