Search squid archive

Re: Problem with Backslash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dave Forster wrote:
Hi Guys,

We have an application that updates and grabs a manifest xml file from a
web server.  When it makes the request, it has been hard coded to use
\MANIFEST.XML at the end of the address.

The application that calls this URL does not run through Internet
Explorer so it won't correct the backslash.  When this URL is passed to

IE is not required for proper URL encoding.

Squid it comes back with a 404 error.  This is because the URL should
actually reference /MANIFEST.XML.  The application is a government
application and "can't be changed"!

Is there a way to make Squid parse all backslashes in URLs as
forwardslashes???

No. Forward slashes are invalid URL symbols. They are not permitted to be sent on the 'wire' protocol.

Does that URL show up in the logs as
  /path/to%5CMANIFEST.XML
or
  /path/toMANIFEST.XML
?

If the former, then Squid should be passing that encoded form along to the origin web server, the 404 coming back from there.

If the latter, then Squid is likely not even getting the \ character.

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.4


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux