gr0tus
2002-02-12 18:54:02 UTC
Nope, I'm in a class in New Jersey right now. I can access Yahoo
Groups and look at the web version of CVS, but that is about it.
mostly
c:../whatever
http://docs.yahoo.com/info/terms/
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sponsored by VeriSign - The Value of Trust
Do you need to encrypt all your online transactions? Find
the perfect solution in this FREE Guide from VeriSign.
http://us.click.yahoo.com/jWSNbC/UdiDAA/yigFAA/rIp0lB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
slimp3-dev-unsubscribe-***@public.gmane.org
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Groups and look at the web version of CVS, but that is about it.
Ok, so is that your final answer? :-)
Can you make the change, test it and send in a diff?
-dean
whitespace/comments)Can you make the change, test it and send in a diff?
-dean
That would match, let me rewrite the regex with comments for
m{ #match (using a different bracketing to avoid leaning toothpicks
((^ #the beginning of the string
([a-zA-Z]:)?) #plus 0 or 1 instances of a volume
| # OR
([/\\])) #one or the other of / or \ not necessarily
#at the begining of the string
\.\. #then the two dots
([/\\] #then one of / or \
| # OR
$) #the end of the string
}x #end the regex (the x allows
m{ #match (using a different bracketing to avoid leaning toothpicks
((^ #the beginning of the string
([a-zA-Z]:)?) #plus 0 or 1 instances of a volume
| # OR
([/\\])) #one or the other of / or \ not necessarily
#at the begining of the string
\.\. #then the two dots
([/\\] #then one of / or \
| # OR
$) #the end of the string
}x #end the regex (the x allows
ok, it's slightly different then what I had before, but it is
the same. It matches .. either between two directory separators or
at the start or end of the path string.
at the start or end of the path string.
somevaliddir/../../../../etc/passwd
?
?
m{(^([a-zA-Z]:)?|[/\\])\.\.[/\\]?}
The first bit is to prevent windows users from doing
The first bit is to prevent windows users from doing
or unix folk from starting with a ..
It may not exactly work, but I can't test it to make it work.
Robert (gr0tus)
Your use of Yahoo! Groups is subject to
It may not exactly work, but I can't test it to make it work.
Robert (gr0tus)
Your use of Yahoo! Groups is subject to
Your use of Yahoo! Groups is subject to
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sponsored by VeriSign - The Value of Trust
Do you need to encrypt all your online transactions? Find
the perfect solution in this FREE Guide from VeriSign.
http://us.click.yahoo.com/jWSNbC/UdiDAA/yigFAA/rIp0lB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
slimp3-dev-unsubscribe-***@public.gmane.org
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/