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

List:       kfm-devel
Subject:    Re: Trimming spaces from URLs
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-03-22 22:11:19
[Download RAW message or body]

On Wed, Mar 22, 2000 at 05:01:55PM -0500, Dawit Alemayehu wrote:
> On Wed, 22 Mar 2000, David Faure wrote:
> > It was reported to me that if you enter the same URL twice
> > but with different leading and/or trailing spaces, it gets registered
> > twice in the history.
> >
> > Is it the task of the history itself to take care of that, or of the URI
> > filters ? I'm not sure...
> 
> Well the answer depends :).  This is because the filters will not touch the
> URLs if they are valid.  Thus, fixing them in the filters would only solve 
> half the problem.  IMHO the best thing to do is what we used to do in kfm and 
> strip the whitespaces from the URLs before they were handed of to be processed.
Ok, fine with me.

> This way we do not have to worry about it later...
Right.

> BTW I can do this if we agree on it since I am going to clean up konqy's 
> openFilteredURL method a bit.
Great, thanks a lot.

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today
See ftp://mandrakesoft.com/pub/david/kde1-and-kde2.txt to set up KDE 2

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

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