Jason Tackaberry wrote: > 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('///') == '/'
Funny story, you are right. I just saw that and "fixed" root support for it. But a dirname query is not used anymore. It is done by get(dirname).list(). Removed Dischi -- A mathematician is a machine for converting coffee into theorems.
pgpVKLZUiWt4p.pgp
Description: PGP signature
------------------------------------------------------------------------- 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 Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel