We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6227b4b commit 06d0c88Copy full SHA for 06d0c88
lib/rodbot/refinements.rb
@@ -52,7 +52,7 @@ def constantize
52
# @return [String] concatted URI
53
refine String do
54
def uri_concat(*segments)
55
- parser = URI::Parser.new
+ parser = URI::RFC2396_PARSER
56
segments.inject(URI(self)) do |uri, segment|
57
uri + parser.escape(segment)
58
end.to_s
0 commit comments