[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: dirtree_module and URLs with passwords
From:       David Faure <faure () kde ! org>
Date:       2004-10-25 10:52:20
Message-ID: 200410251252.23577.faure () kde ! org
[Download RAW message or body]

On Sunday 24 October 2004 19:51, Jakub Stachowski wrote:
> Dnia sobota, 23 października 2004 12:25, Jakub Stachowski napisał:
> > Dnia sobota, 23 października 2004 10:25, David Faure napisał:
> > > On Friday 22 October 2004 18:26, Jakub Stachowski wrote:
> > > > Hello,
> > > >
> > > > dirtree_module from kdebase/konqueror/sidebar/trees/dirtree_module
> > > > currently breaks on URLs with passwords. For example redirection from
> > > > dnssd://_ftp._tcp/some service to ftp://user:pass@host/ results in
> > > > "Cannot find parent item URL in the tree. Internal error.". This is
> > > > because all URLs are inserted into dictionary with passwords, but
> > > > searched for (in slotNewItems) without - so keys don't match. Password
> > > > is stripped at dirtree_module.cpp:393 , just before dictionary lookup.
> > > > Is there any reason for doing this? If not, can I remove this line?
> > >
> > > cvs annotate has the answer to your question...
> > >
> > > 1.9          (faure    06-Nov-01):     dir.setPass( QString::null );
> > >
> > > revision 1.9
> > > date: 2001/11/06 02:43:41;  author: faure;  state: Exp;  lines: +1 -0
> > > Fixed #34557 (ftp urls with pass in the url -> crash)
> >
> > I followed the bugreport and on 3.2.3 (Mandrake), 3.3.0 (Debian) and recent
> > CVS this bug is back (it is exactly the same thing that I described above).
> > Funny thing is that reverting fix from rev 1.9 solves the problem.

Indeed. Strange; something else must have changed.

> I see no further comments on this issue. So is it ok to commit and fix it?

Yes, please do.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic