Fix parsing extension from URL.
This commit is contained in:
parent
7a17a166ec
commit
bd25c2e219
@ -185,7 +185,7 @@ module Hbc
|
||||
end
|
||||
|
||||
def ext
|
||||
Pathname.new(@url).extname
|
||||
Pathname.new(@url).extname[/[^?]+/]
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user