I think tomcat is behaving correctly...

You may have missed out an important fact about URLs... check out
http://www.w3.org/Addressing/rfc1630.txt
"Universal Resource Identifiers in WWW"

"
   THE PERCENT SIGN

      The percent sign ("%", ASCII 25 hex) is used as the escape
      character in the encoding scheme and is never allowed for anything
      else.
"

URL-escaping is different from html/sgml-escaping  (e.g. % )

give that "%3a" is an escape for ":", then if something is asking for
  http://oberon/apt/./g++_4%3a3.3.5-3_i386.deb

then (I think) they are really asking for
  http://oberon/apt/./g++_4:3.3.5-3_i386.deb

so maybe you could "handle" a that in your tomcat webapp?


hope this indicates some directions to try...

Tim



Holger Klawitter wrote:
Omar Adobati wrote:


maybe u can try to replace the % symbol with the ASCII value, that is
% found at http://www.lookuptables.com/


It's not about that *I* can't load that file.
*apt-get* needs to be able to do it.

I already tried to use urlrewrite, but the filter are already too late down
the filter chain, the %3a in "...g++_4%3a3.3..." is already translated.
Furthermore the "+" signs are being translated into spaces by the rewrite
engine.

With Kind Regards / Mit freundlichem Gru�
  Holger Klawitter (listen <at> klawitter <dot> de)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to