| Age | Commit message (Collapse) | Author |
|
A `password` is cleared when change a user now.
https://github.com/ruby/uri/commit/af6714473c
|
|
https://github.com/ruby/uri/commit/f1b05c89ab
|
|
Effectively reverts commit https://github.com/ruby/uri/commit/788274b180d6 and
https://github.com/ruby/uri/commit/0abac721d8fe.
EMAIL_REGEXP was mostly drawn from WHATWG HTML LS. This spec states that
it intentionally violates RFC 5322 to provide a practical regex for
validation.
> This requirement is a willful violation of RFC 5322, which defines a
> syntax for email addresses that is simultaneously too strict (before the
> "@" character), too vague (after the "@" character), and too lax
> (allowing comments, whitespace characters, and quoted strings in manners
> unfamiliar to most users) to be of practical use here.
The allowing of consecutive dot s(`a..a@`) and leading/trailing dots
(`.a@`, `a.@`) is not the only derivation from RFC 5322. If a truly RFC
5322-compliant regexp is needed, tt should be organized under a
different name, since too much departure from the original EMAIL_REGEXP
must be introduced.
https://github.com/ruby/uri/commit/c551d7020b
|
|
https://github.com/ruby/uri/commit/c41903b3e4
|
|
https://github.com/ruby/uri/commit/1c6e81b721
|
|
Currently, some methods' behavior(e.g. `URI.parse`) don't change
when switching a parser. This is because some methods use
`DEFAULT_PARSER`, but `parser=` doesn't change `DEFAULT_PARSER`.
This PR introduces a constant to keep a parser's instance and
change it when switching a parser. Also, change to use it in
methods.
https://github.com/ruby/uri/commit/aded210709
|
|
URI::RFC2396_PARSER.escape
https://github.com/ruby/uri/commit/72e7d6b364
|
|
from that
https://github.com/ruby/uri/commit/1fc4f0496a
|
|
https://github.com/ruby/uri/commit/e5074739c3
|
|
https://github.com/ruby/uri/commit/6c6449e15f
|
|
Fix CVE-2025-27221.
https://hackerone.com/reports/3221142
https://github.com/ruby/uri/commit/5cec76b9e8
|
|
https://github.com/ruby/uri/commit/d2a79c6343
|
|
For the references to URI::RFC2396_Parser private methods.
https://github.com/ruby/uri/commit/372fbb455d
|
|
These are instance methods, not class methods. And `URI::Parser` was
moved to URI::RFC2396_Parser at [r46491]
[r46491]: https://github.com/ruby/ruby/commit/bb83f32dc3e0
https://github.com/ruby/uri/commit/452d74390c
|
|
Fix the performance regression at #172 for valid emails.
``` yml
prelude: |
require 'uri/mailto'
n = 1000
re = URI::MailTo::EMAIL_REGEXP
benchmark:
n.t..t.: re.match?("n.t..t.@docomo.ne.jp")
example: re.match?("example@example.info")
```
| |released| 788274b| c5974f0| this|
|:--------|-------:|-------:|-------:|-------:|
|n.t..t. | 3.795M| 4.864M| 4.993M| 8.739M|
| | -| 1.28x| 1.32x| 2.30x|
|example | 3.911M| 3.740M| 2.838M| 3.880M|
| | 1.38x| 1.32x| -| 1.37x|
https://github.com/ruby/uri/commit/7363a134ac
|
|
Pointed out by John Hawthorn.
Fixes [Bug #20686]
https://github.com/ruby/uri/commit/c0cfa04a66
|
|
https://github.com/ruby/uri/commit/32335923bf
|
|
local part instead of a character class
https://github.com/ruby/uri/commit/2d7d2d9988
|
|
contain leading or trailing dots
https://github.com/ruby/uri/commit/618e2bb640
|
|
(https://github.com/ruby/uri/pull/38)
https://github.com/ruby/uri/commit/0c2b6468fa
|
|
Use just `self` instead of `self.class`, in `URI::Generic.build`.
Since this is a class method, `self.class` is always `Class` even in
inherited sub classes, and does not have `#component` method.
https://github.com/ruby/uri/commit/6f44d3d40e
|
|
So that the example works as-is.
https://github.com/ruby/uri/commit/30212d311e
|
|
https://github.com/ruby/uri/commit/b636e83d99
Co-authored-by: Olle Jonsson <olle.jonsson@gmail.com>
|
|
TruffleRuby does not allow Symbol categories as identifiers.
https://github.com/ruby/uri/commit/5531d42375
|
|
Fix https://github.com/ruby/uri/pull/89
https://github.com/ruby/uri/commit/d543c0dafa
|
|
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
|
|
This was removed by #9.
https://github.com/ruby/uri/commit/fec924238f
|
|
https://github.com/ruby/uri/commit/3213f4a0f8
|
|
https://hackerone.com/reports/2957667
https://github.com/ruby/uri/commit/2789182478
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
https://github.com/ruby/uri/commit/3675494839
|
|
https://github.com/ruby/uri/commit/fe7aa3dac2
|
|
https://github.com/ruby/uri/commit/e46960a467
|
|
https://github.com/ruby/uri/commit/b6f583369a
|
|
URI::RFC2396_REGEXP::PATTERN
https://github.com/ruby/uri/commit/60a8bc1575
|
|
https://github.com/ruby/uri/commit/ee9a38701a
|
|
https://github.com/ruby/uri/commit/a0dd612e90
|
|
https://github.com/ruby/uri/commit/f0847c266c
|
|
https://github.com/ruby/uri/commit/9997c1acee
https://github.com/ruby/uri/commit/c191b627cb
|
|
https://github.com/ruby/uri/commit/3011eb6f6e
|
|
Fixed https://github.com/ruby/uri/issues/125
https://github.com/ruby/uri/commit/1f3d3df02a
|
|
https://github.com/ruby/uri/commit/af8d9d6bb1
|
|
https://github.com/ruby/uri/commit/77241d6508
|
|
https://github.com/ruby/uri/commit/31ec9cea66
|
|
https://github.com/ruby/uri/commit/0f6b945557
|
|
This reverts commit 3da7e440e9fca835f5475a98f1c0afb4d2ac71db.
Notes:
Merged: https://github.com/ruby/ruby/pull/11416
|
|
This reverts commit c3becc3ba6c584fbeabd5182e304e61529235fe6.
Notes:
Merged: https://github.com/ruby/ruby/pull/11333
|
|
https://github.com/ruby/uri/commit/898b889811
|
|
https://github.com/ruby/uri/commit/9997c1acee
|
|
(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>
|
|
https://github.com/ruby/uri/commit/9f2c7ed5f2
|