Welcome! Log In Create A New Profile

Advanced

request_uri escaping "//" to "/"

Khoa Nguyen
January 24, 2011 12:00AM
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.

--
Posted via http://www.ruby-forum.com/.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

request_uri escaping "//" to "/"

Khoa Nguyen January 24, 2011 12:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 210
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready