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.
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 .
fec924238f
2025-02-27 04:30:23 +00:00
Hiroshi SHIBATA
eac8b1197f
[ruby/uri] Bump up v1.0.3
...
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
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#+
...
3675494839
2025-02-26 07:08:44 +00:00
Nobuyoshi Nakada
881924f259
[ruby/uri] [DOC] Make documentation 100%
...
fe7aa3dac2
2025-01-24 01:45:08 +00:00
Hiroshi SHIBATA
0f5e3dca5a
[ruby/uri] Bump up v1.0.2
...
e46960a467
2024-11-14 03:49:15 +00:00
Hiroshi SHIBATA
310e6603a2
[ruby/uri] Check existence constants only URI module
...
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
...
60a8bc1575
2024-11-14 02:20:04 +00:00
Hiroshi SHIBATA
1d6c986104
[ruby/uri] Restore constants like URI::REGEXP::PATTERN::IPV6ADDR
...
ee9a38701a
2024-11-14 02:20:04 +00:00
Orien Madgwick
942ec7ab33
[ruby/uri] Remove rakelib/ dir from gem also
...
a0dd612e90
2024-11-13 05:07:53 +00:00
Orien Madgwick
7d5fdd97cc
[ruby/uri] Remove unused files from the gem package
...
f0847c266c
2024-11-13 05:07:53 +00:00
Joe Rafaniello
25252677f9
[ruby/uri] Fix minor typo from
...
9997c1acee
c191b627cb
2024-11-11 02:42:53 +00:00
Hiroshi SHIBATA
35d8427b8b
[ruby/uri] Bump up v1.0.1
...
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
1f3d3df02a
2024-11-08 06:06:30 +00:00
Hiroshi SHIBATA
fb6645a510
[ruby/uri] Bump up v1.0.0
...
af8d9d6bb1
2024-11-07 06:52:30 +00:00
David Rodríguez
39679d7fab
[ruby/uri] Fix spelling of "cannot"
...
77241d6508
2024-09-17 22:12:12 +00:00
Hiroshi SHIBATA
7900128ab2
[ruby/uri] Bump up 0.13.1
...
31ec9cea66
2024-08-31 05:14:54 +00:00
Hiroshi SHIBATA
04ca75ea69
[ruby/uri] Also warn URI::RFC3986_PARSER.extract
...
0f6b945557
2024-08-27 02:39:52 +00:00
Hiroshi SHIBATA
b41d79962a
Reapply "[ruby/uri] Warn compatibility methods in RFC3986_PARSER"
...
This reverts commit 3da7e440e9
.
2024-08-21 14:52:29 +09:00
Hiroshi SHIBATA
3da7e440e9
Revert "[ruby/uri] Warn compatibility methods in RFC3986_PARSER"
...
This reverts commit c3becc3ba6
.
2024-08-08 12:04:00 +08:00
Hiroshi SHIBATA
68ebd56a76
[ruby/uri] Use URI::RFC2396_PARSER explicitly in URI
...
898b889811
2024-08-08 02:09:27 +00:00
Hiroshi SHIBATA
c3becc3ba6
[ruby/uri] Warn compatibility methods in RFC3986_PARSER
...
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>
---------
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
...
9f2c7ed5f2
2024-08-05 08:15:56 +00:00
Hiroshi SHIBATA
a82976bc90
[ruby/uri] Use DEFAULT_PARSER at split, parse, join
...
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
...
7a64e0245f
2024-07-21 16:57:32 +00:00
Hiroshi SHIBATA
8db2325a11
[ruby/uri] Also support URI::PATTERN with switch-back
...
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
...
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.
984145c407
2024-07-19 00:50:37 +00:00
Hiroshi SHIBATA
6452cf5cb5
[ruby/uri] Added compatibility methods for RFC2396 parser
...
bbb8a40eae
2024-07-19 00:50:36 +00:00
Hiroshi SHIBATA
08e449d89b
[ruby/uri] Added URI.parser= method for switch back to RFC2396_Parser
...
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
...
ad2591f0d1
2024-02-20 10:13:30 +00:00
Hiroshi SHIBATA
94af1e5b81
[ruby/uri] Removed commented-out code
...
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 ]
ac32aa005b
2024-01-05 16:07:55 +00:00
Hiroshi SHIBATA
460c7b2293
[ruby/uri] Bump up 0.13.0
...
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
...
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
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
9010ee2536
2023-06-29 01:07:51 +00:00
Nobuyoshi Nakada
8307627245
[ruby/uri] String literals are frozen now
...
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.
2980f0ba02
2023-06-25 15:24:05 +00:00
Nobuyoshi Nakada
6d734a8975
[ruby/uri] Fix RFC3986 regexps
...
8e38592241
2023-06-13 05:57:17 +00:00
Nobuyoshi Nakada
57c5b0a980
[ruby/uri] Refactor RFC3986 regexps to make more readable
...
3dfa19e920
2023-06-13 03:25:45 +00:00
Nobuyoshi Nakada
729b92ea46
[ruby/uri] Drop support for 2.4
...
21baf2ba16
2023-06-02 05:27:06 +00:00
Nobuyoshi Nakada
cfa6a892d0
Redirect to IO::NULL
for the portability
2023-05-05 18:52:36 +09:00
Hiroshi SHIBATA
120d8d0ae2
[ruby/uri] Bump version to 0.12.1
...
5c4f7d04bf
2023-03-28 02:12:22 +00:00
Nobuyoshi Nakada
23f4904f4e
[ruby/uri] Fix quadratic backtracking on invalid URI
...
https://hackerone.com/reports/1444501
2f9585de17
2023-03-28 02:12:22 +00:00
Alexander Popov
35457ebb8f
[ruby/uri] Replace RubyDoc.info links with Ruby.GitHub.io
...
As requested.
c272f205f9
2023-03-01 23:42:50 +00:00