Skip to content

Commit c31253c

Browse files
committed
[Rule] support 1.8
1 parent e3efecb commit c31253c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rack_reverse_proxy/rule.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def initialize(rule, has_custom_url, path, env, matches)
6464

6565
def build_uri
6666
return nil unless url
67-
URI(raw_uri)
67+
raw_uri
6868
end
6969

7070
private
@@ -100,7 +100,7 @@ def with_substitutions?
100100
end
101101

102102
def substitute_matches
103-
matches.substitute(url)
103+
URI(matches.substitute(url))
104104
end
105105
end
106106

0 commit comments

Comments
 (0)