Re: [squid-users] Problem with encoded URL

From: Eliezer Croitoru <eliezer_at_ngtech.co.il>
Date: Thu, 11 Jul 2013 08:43:50 +0300

On 07/11/2013 07:22 AM, Amos Jeffries wrote:
> On 11/07/2013 2:30 p.m., Amos Jeffries wrote:
>> On 11/07/2013 12:59 a.m., aastolfi_at_inwind.it wrote:
>>> Hello,
>>> I have some problem with encoded URL, like this
>>>
>>> http://www.xyz.net/download.php/235507/%5BTwistys%5D%202013-07-10%20Teal%
>>>
>>> 20Conrad%20-%20A%20Touch%20Of%20Teal%20%5Bx100%5D%5B3000px%5D.torrent
>>> alberto
>>> DIRECT/xxx.yyy.zzz.sss application/x-bittorrent
>>>
>>> My Firefox client report "The connection was reset"
>>>
>>> It seems that the problme is with encoded characters.
>>
>> Maybe. Squid is however passing the request as received on to the
>> server. So any problem with the encoding is happening at the server,
>> nothing to do with Squid.
>>
>> Unless of course your are URL-rewriting or redirecting the URL from
>> inside Squid and somehow generating such mangled URLs. In which case
>> please fix your rewriter or redirector.
>>
>
> PS. For what its worth the characters which are encoded are '[', ']' and
> ' '. Which are not permitted to be sent on-wire in URLs anyway without
> encoding. So I somehow doubt this is the real problem.
>
> Amos
This url should be existed since I have seen many urls of torrent which
have square brackets.
I assume it\s another thing like you said.
More logs in depth of 2 (debug_options ALL,2) can help him understand it
better then it is today.
And if there is a helper just redesign the helper or fix the bug.

Eliezer
Received on Thu Jul 11 2013 - 05:44:12 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 11 2013 - 12:00:24 MDT