stevenwilkin (owner)

Revisions

gist: 219928 Download_button fork
public
Public Clone URL: git://gist.github.com/219928.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
12
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?