curl -H "User-Agent: Foo — Bar" "http://serverlessly.io/"Show HN: Run/Schedule stand-alone scripts on a REST endpoint
11–14 of 14 posts
You might want to disable debug mode (aka. show_exceptions setting) unless you want people to have access to sensitive information like the one contained in the "firebase.rb" file or "/root/nginx-unicorn-sinatra/app.rb". Sending an invalid User-Agent as part of the HTTP requests (like one with Unicode characters) makes the web application fail and respond with a dump of the global _SERVER variable with additional information provided by the Sinatra framework:
Re: Show HN: Run/Schedule stand-alone scripts on a REST endpoint
#12I'm a little concerned that I'd be signing up using cURL over HTTP and not HTTPS. Any plans to go fully HTTPS?
Yes, working on it
Re: Show HN: Run/Schedule stand-alone scripts on a REST endpoint
#13You might want to disable debug mode (aka. show_exceptions setting) unless you want people to have access to sensitive information like the one contained in the "firebase.rb" file or "/root/nginx-unicorn-sinatra/app.rb" . Sending an invalid User-Agent as part of the HTTP requests (like one with Unicode characters) makes the web application fail and respond with a dump of the global _SERVER variable with additional in…
Yeah man!! added these lines in config file
set :show_exceptions, false
set :raise_errors, false
set :dump_errors, false.
Also, working on to enable HTTPS
Re: Show HN: Run/Schedule stand-alone scripts on a REST endpoint
#14I'm a little concerned that I'd be signing up using cURL over HTTP and not HTTPS. Any plans to go fully HTTPS?
Hey check this out, for immediate code push http://serverlessly.io/editor