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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.11.3, 2.10.4, 2.12.0.rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible

      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.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: