diff --git a/lib/bandwidth_patch.rb b/lib/bandwidth_patch.rb new file mode 100644 index 0000000000000000000000000000000000000000..e0c02b8793e1d525624ca377f70426a880e8d769 --- /dev/null +++ b/lib/bandwidth_patch.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module URI + unless respond_to?(:escape) + def self.escape(*args, **kwargs) + URI::DEFAULT_PARSER.escape(*args, **kwargs) + end + end +end