Skip to content

Instantly share code, notes, and snippets.

@stevenwilkin
Created October 27, 2009 20:32
Show Gist options
  • Save stevenwilkin/219928 to your computer and use it in GitHub Desktop.
Save stevenwilkin/219928 to your computer and use it in GitHub Desktop.
I have a strange problem with a Sinatra app.
When I request http://MYAPP.heroku.com/http://google.com
This is in the log:
$ heroku logs
82.24.100.136, 10.250.31.111 - - [27/Oct/2009 13:18:41] "GET /http:/google.com HTTP/1.1" 200 17 0.0005
The '//' in my GET request is being converted to '/'
Any ideas?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment