Code improvement description
Ruby 3.4 migrated URI::DEFAULT_PARSER from RFC23961 to RFC39862, so as part of the Ruby 3.4 upgrade we changed our parser from DEFAULT_PARSER (implicitly RFC2396) to explicitly RFC2396. However, in the long term we should migrate to RFC3986. RFC3986 is simpler, less ambiguous, and stricter about parsing URIs.