On Tue, 2006-10-24 at 20:56 +0200, Dirk Meyer wrote:
> if 'dirname' in query:
> query['dirname'] = os.path.realpath(query['dirname'] + '/')
> + if query['dirname'] == '//':
> + query['dirname'] = '/'
I don't think concatenating '/' has any purpose -- os.path.realpath() is
just going to remove the trailing slash anyway.
Actually os.path.realpath('//') == '//' and this looks like a bug to me,
especially given that realpath('///') == '/'
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel