httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan M. Faber" <>
Subject [users@httpd] How to use both %2B and '+' in a url?
Date Fri, 12 Oct 2007 10:41:37 GMT
I noticed a problem (bug?) that Apache decodes the incoming string % 
2B into a + sign, but it does not encode the + sign itself.

Let me show you why this is a problem: I have a Rails application  
that encodes the url " jo+jack" as  
"". So far so good, and no  
problems in my development environment where I use Mongrel. However,  
when I feed this url to Apache I see in the rewrite log that it  
translates this in to "", and it  
gets passed on to the Rails application with two + signs, which  
results in an error.

Can anyone think of a way to get around this problem?

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message