Welcome! Log In Create A New Profile

Advanced

Re: spaces in URI

All files from this thread

File Name File Size   Posted by Date  
nginx-0.8.49-uri_percent.patch 1.1 KB open | download Matthieu Tourne 09/28/2010 Read message
Matthieu Tourne
September 28, 2010 12:06PM
Hi,

I was in a similar situation trying to reverse proxy to a site that
has single percent signs in the url, which aren't part of a url
encoding.
I did a quick patch to allow that, maybe this can help you.

Matthieu.

On Tue, Sep 28, 2010 at 7:35 AM, cgarver <nginx-forum@nginx.us> wrote:
> Reposting to fix the grammar errors!
>
> Hello folks,
>
> I have tried both nginx 0.8.46 and 0.8.52 to reverse proxy a URI that
> contains a whitespace, but I'm having no luck. Any URI without a space
> loads just fine, but one that contains a white space results in a "Bad
> Request - HTTP Error 400. The request is badly formed."
>
> I had verified that the patch referenced above was in the source of
> 0.8.46. [The %20 substitution was missing from the proxy module so I
> added it, but adding that substitution didn't help.]
>
> Are any of you folks able to reverse proxy a white space URI like
> "http://forum.nginx.org/siteX/storage/Nice Images/test-image.jpg" That's
> not a valid URI. I just wanted to give an example that shows the type of
> white space that is in my URI.
>
> thanks,
> Chris
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,97031,134985#msg-134985
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Attachments:
open | download - nginx-0.8.49-uri_percent.patch (1.1 KB)
Subject Author Posted

spaces in URI

Igor Sysoev June 11, 2010 04:14AM

Re: spaces in URI

Peter Portante June 11, 2010 04:12PM

Re: spaces in URI

Igor Sysoev June 11, 2010 04:40PM

Re: spaces in URI

Peter Portante June 11, 2010 05:00PM

Re: spaces in URI

cgarver September 28, 2010 10:24AM

Re: spaces in URI

cgarver September 28, 2010 10:35AM

Re: spaces in URI Attachments

Matthieu Tourne September 28, 2010 12:06PM

Re: spaces in URI

cgarver September 28, 2010 12:38PM

Re: spaces in URI

Matthieu Tourne September 28, 2010 12:50PM

Re: spaces in URI

Igor Sysoev September 28, 2010 01:00PM

Re: spaces in URI

cgarver September 28, 2010 01:06PM

Re: spaces in URI

cgarver September 28, 2010 01:24PM

Re: spaces in URI

cgarver September 28, 2010 01:37PM

Re: spaces in URI

cgarver September 28, 2010 01:41PM

Re: spaces in URI

cgarver September 28, 2010 02:14PM

Re: spaces in URI

cgarver September 28, 2010 02:41PM

Re: spaces in URI

Igor Sysoev September 28, 2010 01:20PM

Re: spaces in URI

Igor Sysoev September 28, 2010 01:30PM

Re: spaces in URI

Igor Sysoev September 28, 2010 02:04PM

Re: spaces in URI

Igor Sysoev September 28, 2010 02:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 191
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready