Hi,

Can you try using a newer version of rack? I believe this is fixed
here: 
http://github.com/rack/rack/commit/19b12b29f74d9cf61e29ace4a4d47feef46e590e

Thanks,
Terence

On Sep 22, 5:28 pm, Matthew Lang <[email protected]> wrote:
> I have a Sinatra app (http://gist.github.com/592509) that takes a URL
> as a parameter on a route. When I run the app locally, the parameter
> is passed through to the route as expected.
>
> When I deploy the app to Heroku however, the URL I pass as a parameter
> is stripped of a '/' in the protocol section of the URL. So if I pass
> 'http://heroku.com'to the app on Heroku, it comes through to the
> application as 'http:/heroku.com'.
>
> An example of this can be found 
> here:http://freezing-beach-34.heroku.com/backpackit/http://heroku.com
>
> I'm puzzled by the difference in the route's behaviour between the two
> environments. Could this be due to the fact that I'm using Webrick
> locally, but Heroku is using Thin?

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to