httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan M. Faber" <jmfa...@faberix.com>
Subject Re: [users@httpd] How to use both %2B and '+' in a url?
Date Fri, 12 Oct 2007 11:43:26 GMT
Yes, that would avoid the problem, the old version of Rails actually  
did it that way, they changed it in version 1.2.

The downside is that my URLs often have spaces in them and need to be  
e-mailed around and the '+' sign looks so much prettier than the %20

For now I just avoid the use of '+' in any url but I would really  
like a more elegant solution since it requires me to filter user  
input in quite a few places.
jm


On 12 Oct 2007, at 13:31, Jacqui caren wrote:

> Jan M. Faber wrote:
>> I noticed a problem (bug?) that Apache decodes the incoming string  
>> % 2B into a + sign, but it does not encode the + sign itself.
>> Can anyone think of a way to get around this problem?
>
> get rails app to use %20 encoding for spaces instead of the '+'
> encoding?
>
> I have to say I would never consider using ' ' -> '+' too risky
> and I have seen far too many url translators mess this one up.
>
> Jacqui
>
> p.s I would hope this encoding was depricated some years ago...
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server  
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message