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

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: