[mdlug] Evil URLs at OpenSuSE
Aaron Kulkis
akulkis3 at hotpop.com
Sat Feb 24 16:28:57 EST 2007
David Favro wrote:
> Raymond McLaughlin wrote:
>> Robert Meier wrote:
>>
>>>> Maybe this usage has been around a while and I just haven't noticed,
>>>> but this week I did notice, urls like this:
>>>> http://software.opensuse.org/download/X11:/xfce/SUSE_Linux_10.0/i586/
>>>> The evil bit seems to be the inclusion of the colon ':' in the directory
>>>> name.
>>>>
>
> Maybe try replacing it with the escaped ASCII code like:
>
> http://software.opensuse.org/download/X11%3A/xfce/SUSE_Linux_10.0/i586/
>
If it's on the command line... the ":" is probably the problem...
which is escaped with the backslash in most shells, and thus becomes:
http://software.opensuse.org/download/X11\:/xfce/SUSE_Linux_10.0/i586/
^
Insert \ here ---------------------------+
>>From RFC1738:
> <BLOCKQUOTE>
> In addition, octets may be encoded by a character triplet consisting of the character "%" followed by the two hexadecimal digits (from "0123456789ABCDEF") which forming the hexadecimal value of the octet.
> </BLOCKQUOTE>
More information about the mdlug
mailing list