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 4933326 commit 26b5058Copy full SHA for 26b5058
ruby/lib/referer-parser/parser.rb
@@ -86,8 +86,8 @@ def optimize_index!
86
def parse(obj)
87
url = obj.is_a?(URI) ? obj : URI.parse(obj.to_s)
88
89
- if !['http', 'https'].include?(url.scheme)
90
- raise InvalidUriError.new("Only HTTP and HTTPS schemes are supported -- #{url.scheme}")
+ if !['android-app', 'http', 'https'].include?(url.scheme)
+ raise InvalidUriError.new("Only Android-App, HTTP, and HTTPS schemes are supported -- #{url.scheme}")
91
end
92
93
data = { :known => false, :uri => url.to_s }
0 commit comments