Request_uri escaping "//" to "/"

Hi,

I’ve setup nginx to host a local site xxx.com

When I click on the link ‘http://xxx.com/api/https://bam.com/’, inside
sinatra the env path_info becomes /api/https:/bam.com/ instead of
/api/https://bam.com/.

Has anyone seen things like this happening before? Is Nginx doing some
escaping here?

Cheers,
Khoan.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs