summaryrefslogtreecommitdiff
path: root/lib/uri
AgeCommit message (Collapse)Author
2025-10-09Merge URI-0.13.3Hiroshi SHIBATA
2025-03-08Merge uri-0.13.2Hiroshi SHIBATA
2024-08-27Merge URI-0.13.1 for Ruby 3.3 (#11466)Hiroshi SHIBATA
Merge URI-0.13.1
2023-11-06[ruby/uri] Bump up 0.13.0Hiroshi SHIBATA
https://github.com/ruby/uri/commit/b50d37f7a1
2023-10-26add #to_str to URI::GenericMichael Chui
2023-06-29[ruby/uri] Bump up v0.12.2Hiroshi SHIBATA
https://github.com/ruby/uri/commit/e18e657ea8
2023-06-29[ruby/uri] Fix quadratic backtracking on invalid port numberNobuyoshi Nakada
https://hackerone.com/reports/1958260 https://github.com/ruby/uri/commit/9d7bcef1e6
2023-06-29[ruby/uri] Fix quadratic backtracking on invalid relative URINobuyoshi Nakada
https://hackerone.com/reports/1958260 https://github.com/ruby/uri/commit/9010ee2536
2023-06-25[ruby/uri] String literals are frozen nowNobuyoshi Nakada
https://github.com/ruby/uri/commit/0b6ad60af6
2023-06-25[ruby/uri] Fix host part in relative referece #83Nobuyoshi Nakada
In relative referece, host part can be ommitted but can not be empty. https://github.com/ruby/uri/commit/2980f0ba02
2023-06-13[ruby/uri] Fix RFC3986 regexpsNobuyoshi Nakada
https://github.com/ruby/uri/commit/8e38592241
2023-06-13[ruby/uri] Refactor RFC3986 regexps to make more readableNobuyoshi Nakada
https://github.com/ruby/uri/commit/3dfa19e920
2023-06-02[ruby/uri] Drop support for 2.4Nobuyoshi Nakada
https://github.com/ruby/uri/commit/21baf2ba16
2023-05-05Redirect to `IO::NULL` for the portabilityNobuyoshi Nakada
2023-03-28[ruby/uri] Bump version to 0.12.1Hiroshi SHIBATA
https://github.com/ruby/uri/commit/5c4f7d04bf
2023-03-28[ruby/uri] Fix quadratic backtracking on invalid URINobuyoshi Nakada
https://hackerone.com/reports/1444501 https://github.com/ruby/uri/commit/2f9585de17
2023-03-01[ruby/uri] Replace RubyDoc.info links with Ruby.GitHub.ioAlexander Popov
As requested. https://github.com/ruby/uri/commit/c272f205f9
2023-03-01[ruby/uri] Take out GitHub link for gemspec metadataAlexander Popov
https://github.com/ruby/uri/commit/ca4638a4b3
2023-03-01[ruby/uri] Populate gemspec metadata objectAlexander Popov
https://github.com/ruby/uri/commit/31748915d0
2023-03-01[ruby/uri] Sort gemspec `metadata` object alphabeticalAlexander Popov
https://github.com/ruby/uri/commit/1e9420b57c
2023-03-01[ruby/uri] Remake `metadata` object in `gemspec` into one assignmentAlexander Popov
https://github.com/ruby/uri/commit/19a19ccde6
2023-03-01[ruby/uri] Add documentation link into gemspecAlexander Popov
https://github.com/ruby/uri/commit/19ced145f4
2023-01-08[ruby/uri] [DOC] Enhanced RDoc for URIBurdette Lamar
(https://github.com/ruby/uri/pull/55) https://github.com/ruby/uri/commit/89ab4f1407
2023-01-08[ruby/uri] [DOC] Enhanced RDoc for URI.decode_www_formBurdette Lamar
(https://github.com/ruby/uri/pull/53) https://github.com/ruby/uri/commit/ce379e6125
2023-01-07[ruby/uri] [DOC] Common rdoc (https://github.com/ruby/uri/pull/52)Burdette Lamar
https://github.com/ruby/uri/commit/be8047028f
2023-01-06[ruby/uri] [DOC] Enhanced RDoc for common methodsBurdette Lamar
(https://github.com/ruby/uri/pull/50) https://github.com/ruby/uri/commit/7ff4fb372b
2023-01-04[ruby/uri] [DOC] Common methods rdocBurdette Lamar
(https://github.com/ruby/uri/pull/49) https://github.com/ruby/uri/commit/02dfc79366
2023-01-03[ruby/uri] [DOC] Enhanced RDoc for common methodsBurdette Lamar
(https://github.com/ruby/uri/pull/48) https://github.com/ruby/uri/commit/2bfd848c26
2022-12-05[ruby/uri] Bump version to 0.12.0Hiroshi SHIBATA
https://github.com/ruby/uri/commit/72f22716f8
2022-10-13[ruby/uri] Fix splitting relative URINobuyoshi Nakada
https://github.com/ruby/uri/commit/ffbab83de6
2022-10-13URI.parse should set empty string in host instead of nilNARUSE, Yui
2022-05-12[ruby/uri] Improve URI.register_scheme tests and automatically upcase the ↵Benoit Daloze
given scheme * Also add docs and mention current limitations. * For reference, https://stackoverflow.com/a/3641782/388803 mentions the valid characters in schemes. https://github.com/ruby/uri/commit/4346daac75
2022-05-12[ruby/uri] Add URI::Generic#decoded_#{user,password}Jeremy Evans
URI::Generic#{user,password} return the encoded values, which are not that useful if you want to do authentication with them. Automatic decoding by default would break backwards compatibility. Optional automatic decoding via a keyword to URI.parse would require threading the option through at least 3 other methods, and would make semantics confusing (user= takes encoded or unencoded password?) or require more work. Thus, adding this as a separate method seemed the simplest approach. Unfortunately, URI lacks a method for correct decoding. Unlike in www form components, + in earlier parts of the URI such as the userinfo section is treated verbatim and not as an encoded space. Add URI.#{en,de}code_uri_component methods, which are almost the same as URI.#{en,de}code_www_form_component, but without the special SP => + handling. Implements [Feature #9045] https://github.com/ruby/uri/commit/16cfc4e92f
2022-05-12[ruby/uri] Update file.rbFrank Schmitt
The module here is called `URI`, so it's probably reasonable to expect a requirement for the path to be RFC3986-compliant, but on the other hand, the class is called `File`, so it might be reasonable to expect that a path produced by e.g. the `File` class would be consumable by its `build` method (this fails if the filename contains e.g. a space). https://github.com/ruby/uri/commit/ef79789b83
2022-04-22[ruby/uri] Include RFC2396_REGEXP module directlyPeter Zhu
REGEXP is defined as RFC2396_REGEXP in lib/uri/common.rb. If we include REGEXP then a broken URL is generated in rdoc for URI and URI::MailTo. https://github.com/ruby/uri/commit/ed6ded9c80
2021-10-22[ruby/uri] URI#HTTP#origin and URI#HTTP#authority ↵Tiago
(https://github.com/ruby/uri/pull/30) https://github.com/ruby/uri/commit/bf13946c32 Co-authored-by: Samuel Williams <samuel.williams@oriontransfer.co.nz>
2021-10-21[ruby/uri] Bump up uri version to 0.11.0Hiroshi SHIBATA
https://github.com/ruby/uri/commit/1619f713e6
2021-07-28Update to latest uriBenoit Daloze
* https://github.com/ruby/uri/commit/bc47bf71df2b2e9cea09d0b2684ceac7355e42a0 * To include the fix from https://github.com/ruby/uri/pull/27
2021-07-27Fix test failure for parallel testingHiroshi SHIBATA
2021-07-27[ruby/uri] Add proper Ractor support to URIBenoit Daloze
* Using a module to map scheme name to scheme class, which also works with Ractor. * No constant redefinition, no ObjectSpace, still fast lookup for initial schemes. https://github.com/ruby/uri/commit/883567fd81
2021-07-27[ruby/uri] Revert "Fix to support Ruby 3.0 Ractor"Benoit Daloze
* This reverts commit 1faa4fdc161d7aeebdb5de0c407b923beaecf898. * It has too many problems, see https://github.com/ruby/uri/pull/22 for discussion. https://github.com/ruby/uri/commit/b959da2dc9
2021-07-27[ruby/uri] Fix to support Ruby 3.0 Ractorkvokka
https://github.com/ruby/uri/commit/1faa4fdc16
2021-04-22[ruby/uri] Use Regexp#match? to avoid extra allocationsSteven Harman
`#=~` builds `MatchData`, requiring extra allocations as compared to `#match?`, which returns a boolean w/o having to build the `MatchData`. https://github.com/ruby/uri/commit/158f58a9cc
2021-04-22[ruby/uri] Set required_ruby_version to 2.4 in gemspecJeremy Evans
Tests pass on Ruby 2.4, but not on Ruby 2.3. https://github.com/ruby/uri/commit/594418079a
2021-04-22[ruby/uri] Only use UnboundMethod#bind_call if it is availableJeremy Evans
This allows tests to pass on Ruby 2.4-2.6. Fixes #19 https://github.com/ruby/uri/commit/67ca99ca87
2021-04-22[ruby/uri] Optimize URI#hostname and URI#hostname=Lukas Zapletal
https://github.com/ruby/uri/commit/3b7ccfd835
2021-04-22[ruby/uri] Upstream Java proxy property checks from JRubyCharles Oliver Nutter
These Java properties, retrieved from JRuby's "Java env" ENV_JAVA, allow JRuby users to use the same proxy properties the rest of the Java platform uses. This resolves https://bugs.ruby-lang.org/issues/11194 https://github.com/ruby/uri/commit/3bd2bcc95a
2021-03-31Enclose the code that was accidentally a link in "tt"aycabta
2020-12-22Update library versions of the default gems.Hiroshi SHIBATA
They are followed up with https://github.com/ruby/ruby/commit/8fb02b7a97317090e3946e6f2d4a7d034f9699f1
2020-12-16fix doc typod-m-u
s/it's/its Notes: Merged: https://github.com/ruby/ruby/pull/3920