Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2035

Use URI::DEFAULT_PARSER.unescape instead of URI.decode for Ruby 2.7

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.11.3, 2.10.4, 2.12.0.rc0
    • Component/s: None
    • Labels:
      None

      Description

      In upcoming Ruby 2.7 the URI.decode method now spams warnings every invocation by default. There does not appear to be a way to turn them off, and there is no replacement for URI.decode in Ruby standard library.

      We need to either have the URI.decode method restored to previous behavior of not warning by default, get Ruby to provide a replacement, or implement URI decoding ourselves.

        Attachments

          Activity

            People

            Assignee:
            oleg.pudeyev Oleg Pudeyev
            Reporter:
            oleg.pudeyev Oleg Pudeyev
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: