url redirect
Opened this issue · 1 comments
designerwebhosting commented
I am using Google apps script to generate my json. However Google uses a redirect for the url and the plugin does not work with the redirection. If I use the temporary url Google sends me to, its fine. I know redirects are often used it may be something to look at for the next update.
For now I am using a work around as the site is still in development.
Thank you and a very useful plugin.
designerwebhosting commented
my work around is to add:
require 'open_uri_redirections' # redirect patch
and change
source = JSON.load(open(d['json'], :allow_redirections => :safe)) # line 21