On Mon, Oct 18, 2010 at 21:03:06 +0300, jari.aa...@cante.net wrote: > +Pathclean () > +{ > + # Vulnerability fix for insecure path content > + # Make sure "::", "^:" or ":$" is not left in path arg $1 > + > + local tmp > + tmp=$(echo "$1" | sed -e 's/::\+// ; s/^:// ; s/:$//' ) > + > + [ "$tmp" ] && echo "$tmp" > +} > + again, useless.
Cheers, Julien
signature.asc
Description: Digital signature