From kfm-devel Wed Mar 22 22:11:19 2000 From: David Faure Date: Wed, 22 Mar 2000 22:11:19 +0000 To: kfm-devel Subject: Re: Trimming spaces from URLs X-MARC-Message: https://marc.info/?l=kfm-devel&m=95376321713679 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