mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Fix small bug with returning public url in the case when cdn is used.
This commit is contained in:
parent
ae9b2b7789
commit
c89bc9a9c0
1 changed files with 2 additions and 0 deletions
|
@ -73,6 +73,8 @@ module Fog
|
|||
response.headers['X-CDN-URI']
|
||||
end
|
||||
end
|
||||
# escape the key to cover for special char. in container names
|
||||
url = "#{connection.url}/#{connection.escape_name(key)}"
|
||||
rescue Fog::Service::NotFound
|
||||
nil
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue