[mdlug] Evil URLs at OpenSuSE

Fati fati at venerealinjection.com
Thu Mar 1 16:26:35 EST 2007


On 2/24/07, Aaron Kulkis <akulkis3 at hotpop.com> wrote:
> 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>
>
>
> _______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug
>
Why on earth would : be a problem to the shell?  It's not a reserved
character for anything that I know of.

-- 
Fati
"I don't know what weapons World War Three will be fought with, but
World War Four will be fought with sticks and stones."  - Albert
Einstein



More information about the mdlug mailing list