#139 new
Chris Davaz

REQUEST_URI, SCRIPT_NAME, PATH_INFO not set correctly

Reported by Chris Davaz | October 26th, 2010 @ 03:35 PM

I am using Sinatra with thin and I found that accessing request.env[REQUEST_URI] only gave me the base portion of the uri with no SCRIPT_NAME or PATH_INFO. Those latter two variables were also empty. Using other web services with Sinatra shows the correct values of REQUEST_URI, SCRIPT_NAME and PATH_INFO.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages