Nobuyoshi Nakada
4b1de7378d
[ruby/uri] [DOC] State that uri library is needed to call Kernel#URI
...
So that the example works as-is.
https://github.com/ruby/uri/commit/30212d311e
2025-06-26 01:46:48 +00:00
Nobuyoshi Nakada
4eba511c1b
[ruby/uri] Fix a typo
...
https://github.com/ruby/uri/commit/b636e83d99
Co-authored-by: Olle Jonsson <olle.jonsson@gmail.com>
2025-06-26 01:39:20 +00:00
Nobuyoshi Nakada
228cc794f5
[ruby/uri] Use Lo category chars as escaped chars
...
TruffleRuby does not allow Symbol categories as identifiers.
https://github.com/ruby/uri/commit/5531d42375
2025-06-26 01:39:20 +00:00
Nobuyoshi Nakada
42f753d829
[ruby/uri] Escape reserved characters in scheme name
...
Fix https://github.com/ruby/uri/pull/89
https://github.com/ruby/uri/commit/d543c0dafa
2025-06-26 01:39:19 +00:00
yuuji.yaginuma
75f07afd18
[ruby/uri] Use a fully qualified name in warning messages
...
Currently, some warning messages don't contain a `URI` like the following.
```ruby
warning: URI::ABS_URI is obsolete. Use RFC2396_PARSER.regexp[:ABS_URI] explicitly.
```
But, without `URI` prefix, the suggested value doesn't work.
So I think we should use a fully qualified name to avoid confusion.
https://github.com/ruby/uri/commit/428eb10e44
2025-02-27 04:32:27 +00:00
Yuji Yaginuma
31bd669f67
[ruby/uri] Fix the mention to removed URI.escape/URI::Escape
...
This was removed by #9 .
https://github.com/ruby/uri/commit/fec924238f
2025-02-27 04:30:23 +00:00
Hiroshi SHIBATA
eac8b1197f
[ruby/uri] Bump up v1.0.3
...
https://github.com/ruby/uri/commit/3213f4a0f8
2025-02-26 07:12:53 +00:00
Hiroshi SHIBATA
b407b6b5b2
[ruby/uri] Fix merger of URI with authority component
...
https://hackerone.com/reports/2957667
https://github.com/ruby/uri/commit/2789182478
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2025-02-26 07:08:45 +00:00
Hiroshi SHIBATA
57dcb4bb9b
[ruby/uri] Truncate userinfo with URI#join, URI#merge and URI#+
...
https://github.com/ruby/uri/commit/3675494839
2025-02-26 07:08:44 +00:00
Nobuyoshi Nakada
881924f259
[ruby/uri] [DOC] Make documentation 100%
...
https://github.com/ruby/uri/commit/fe7aa3dac2
2025-01-24 01:45:08 +00:00
Hiroshi SHIBATA
0f5e3dca5a
[ruby/uri] Bump up v1.0.2
...
https://github.com/ruby/uri/commit/e46960a467
2024-11-14 03:49:15 +00:00
Hiroshi SHIBATA
310e6603a2
[ruby/uri] Check existence constants only URI module
...
https://github.com/ruby/uri/commit/b6f583369a
2024-11-14 03:32:13 +00:00
Hiroshi SHIBATA
1bab8bf88f
[ruby/uri] Removed duplicated declare step for constants under the URI::RFC2396_REGEXP::PATTERN
...
https://github.com/ruby/uri/commit/60a8bc1575
2024-11-14 02:20:04 +00:00
Hiroshi SHIBATA
1d6c986104
[ruby/uri] Restore constants like URI::REGEXP::PATTERN::IPV6ADDR
...
https://github.com/ruby/uri/commit/ee9a38701a
2024-11-14 02:20:04 +00:00
Orien Madgwick
942ec7ab33
[ruby/uri] Remove rakelib/ dir from gem also
...
https://github.com/ruby/uri/commit/a0dd612e90
2024-11-13 05:07:53 +00:00
Orien Madgwick
7d5fdd97cc
[ruby/uri] Remove unused files from the gem package
...
https://github.com/ruby/uri/commit/f0847c266c
2024-11-13 05:07:53 +00:00
Joe Rafaniello
25252677f9
[ruby/uri] Fix minor typo from
...
https://github.com/ruby/uri/commit/9997c1acee
https://github.com/ruby/uri/commit/c191b627cb
2024-11-11 02:42:53 +00:00
Hiroshi SHIBATA
35d8427b8b
[ruby/uri] Bump up v1.0.1
...
https://github.com/ruby/uri/commit/3011eb6f6e
2024-11-08 06:07:54 +00:00
Hiroshi SHIBATA
d7c65398e0
[ruby/uri] Added more fallback constants like URI::PARTTERN and URI::REGEXP
...
Fixed https://github.com/ruby/uri/issues/125
https://github.com/ruby/uri/commit/1f3d3df02a
2024-11-08 06:06:30 +00:00
Hiroshi SHIBATA
fb6645a510
[ruby/uri] Bump up v1.0.0
...
https://github.com/ruby/uri/commit/af8d9d6bb1
2024-11-07 06:52:30 +00:00
David Rodríguez
39679d7fab
[ruby/uri] Fix spelling of "cannot"
...
https://github.com/ruby/uri/commit/77241d6508
2024-09-17 22:12:12 +00:00
Hiroshi SHIBATA
7900128ab2
[ruby/uri] Bump up 0.13.1
...
https://github.com/ruby/uri/commit/31ec9cea66
2024-08-31 05:14:54 +00:00
Hiroshi SHIBATA
04ca75ea69
[ruby/uri] Also warn URI::RFC3986_PARSER.extract
...
https://github.com/ruby/uri/commit/0f6b945557
2024-08-27 02:39:52 +00:00
Hiroshi SHIBATA
b41d79962a
Reapply "[ruby/uri] Warn compatibility methods in RFC3986_PARSER"
...
This reverts commit 3da7e440e9fca835f5475a98f1c0afb4d2ac71db.
2024-08-21 14:52:29 +09:00
Hiroshi SHIBATA
3da7e440e9
Revert "[ruby/uri] Warn compatibility methods in RFC3986_PARSER"
...
This reverts commit c3becc3ba6c584fbeabd5182e304e61529235fe6.
2024-08-08 12:04:00 +08:00
Hiroshi SHIBATA
68ebd56a76
[ruby/uri] Use URI::RFC2396_PARSER explicitly in URI
...
https://github.com/ruby/uri/commit/898b889811
2024-08-08 02:09:27 +00:00
Hiroshi SHIBATA
c3becc3ba6
[ruby/uri] Warn compatibility methods in RFC3986_PARSER
...
https://github.com/ruby/uri/commit/9997c1acee
2024-08-08 02:09:27 +00:00
Hiroshi SHIBATA
267da552a1
[ruby/uri] Fallback missing constants with RFC3986_PARSER
...
(https://github.com/ruby/uri/pull/113 )
* Fallback missing constants with RFC3986_PARSER
* raise missing constant
* Update test/uri/test_common.rb
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Update lib/uri/common.rb
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Update lib/uri/common.rb
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
---------
https://github.com/ruby/uri/commit/c2fdec079a
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2024-08-06 09:09:52 +00:00
Josh Soref
9d86864a6d
[ruby/uri] Add space after bad URI
...
https://github.com/ruby/uri/commit/9f2c7ed5f2
2024-08-05 08:15:56 +00:00
Hiroshi SHIBATA
a82976bc90
[ruby/uri] Use DEFAULT_PARSER at split, parse, join
...
https://github.com/ruby/uri/commit/28af4e155a
2024-08-05 08:00:14 +00:00
Randy Stauner
da49bee04b
[ruby/uri] Restrict constant checks to current namespace to avoid conflicts with globals
...
https://github.com/ruby/uri/commit/7a64e0245f
2024-07-21 16:57:32 +00:00
Hiroshi SHIBATA
8db2325a11
[ruby/uri] Also support URI::PATTERN with switch-back
...
https://github.com/ruby/uri/commit/823697edb4
2024-07-19 00:50:38 +00:00
Hiroshi SHIBATA
082335494b
[ruby/uri] Added test for constant definition and remove URI::REGEXP when using RFC3986_PARSER
...
https://github.com/ruby/uri/commit/6f616d97fc
2024-07-19 00:50:37 +00:00
Hiroshi SHIBATA
2a56c1841d
[ruby/uri] URI.extract needs to pass block
...
If given block to URI.extract, it returns nil.
https://github.com/ruby/uri/commit/984145c407
2024-07-19 00:50:37 +00:00
Hiroshi SHIBATA
6452cf5cb5
[ruby/uri] Added compatibility methods for RFC2396 parser
...
https://github.com/ruby/uri/commit/bbb8a40eae
2024-07-19 00:50:36 +00:00
Hiroshi SHIBATA
08e449d89b
[ruby/uri] Added URI.parser= method for switch back to RFC2396_Parser
...
https://github.com/ruby/uri/commit/d7dc19ad3f
2024-07-19 00:50:35 +00:00
Hiroshi SHIBATA
7630a89a4b
Use www.rfc-editor.org for RFC text.
...
We use the following site for that now:
* https://tools.ietf.org/ or http
* https://datatracker.ietf.org or http
Today, IETF said the official site of RFC is www.rfc-editor.org.
FYI: https://authors.ietf.org/en/references-in-rfcxml
I replaced them to www.rfc-editor.org.
2024-03-28 11:44:45 +09:00
Hiroshi SHIBATA
fa3d6aafb7
[ruby/uri] Use https instead of http
...
https://github.com/ruby/uri/commit/ad2591f0d1
2024-02-20 10:13:30 +00:00
Hiroshi SHIBATA
94af1e5b81
[ruby/uri] Removed commented-out code
...
https://github.com/ruby/uri/commit/feb8e0dd73
2024-01-22 00:19:51 +00:00
Jeremy Evans
37657c79b6
[ruby/uri] Make URI#to_s prepend relative path with / if there is a host or port
...
Otherwise, the path could be considered part of the host or port.
This is better than modifying the path to make it absolute when
a host or port is set. We could also raise for invalid paths
when a host or port is set using check_path, but that results
in weird errors, and won't catch issues (such as ftp allowing a
relative path).
Fixes [Bug #19916 ]
https://github.com/ruby/uri/commit/ac32aa005b
2024-01-05 16:07:55 +00:00
Hiroshi SHIBATA
460c7b2293
[ruby/uri] Bump up 0.13.0
...
https://github.com/ruby/uri/commit/b50d37f7a1
2023-11-06 10:08:41 +00:00
Michael Chui
0164ce893f
add #to_str to URI::Generic
2023-10-26 10:12:49 +09:00
Hiroshi SHIBATA
ab5421547c
[ruby/uri] Bump up v0.12.2
...
https://github.com/ruby/uri/commit/e18e657ea8
2023-06-29 01:07:52 +00:00
Nobuyoshi Nakada
995ce947be
[ruby/uri] Fix quadratic backtracking on invalid port number
...
https://hackerone.com/reports/1958260
https://github.com/ruby/uri/commit/9d7bcef1e6
2023-06-29 01:07:52 +00:00
Nobuyoshi Nakada
1eff362492
[ruby/uri] Fix quadratic backtracking on invalid relative URI
...
https://hackerone.com/reports/1958260
https://github.com/ruby/uri/commit/9010ee2536
2023-06-29 01:07:51 +00:00
Nobuyoshi Nakada
8307627245
[ruby/uri] String literals are frozen now
...
https://github.com/ruby/uri/commit/0b6ad60af6
2023-06-25 15:45:32 +00:00
Nobuyoshi Nakada
c21436cb35
[ruby/uri] Fix host part in relative referece #83
...
In relative referece, host part can be ommitted but can not be empty.
https://github.com/ruby/uri/commit/2980f0ba02
2023-06-25 15:24:05 +00:00
Nobuyoshi Nakada
6d734a8975
[ruby/uri] Fix RFC3986 regexps
...
https://github.com/ruby/uri/commit/8e38592241
2023-06-13 05:57:17 +00:00
Nobuyoshi Nakada
57c5b0a980
[ruby/uri] Refactor RFC3986 regexps to make more readable
...
https://github.com/ruby/uri/commit/3dfa19e920
2023-06-13 03:25:45 +00:00
Nobuyoshi Nakada
729b92ea46
[ruby/uri] Drop support for 2.4
...
https://github.com/ruby/uri/commit/21baf2ba16
2023-06-02 05:27:06 +00:00