[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KURL problem
From: Andras Mantia <amantia () kde ! org>
Date: 2005-09-27 10:59:52
Message-ID: 200509271401.51514.amantia () kde ! org
[Download RAW message or body]
On Tuesday 27 September 2005 13:39, Michael Brade wrote:
> And what happens with your patch in case of ftp://ya\@kde.org//? You
> don't want to get ftp://ya\@kde.org.
It happens the same as I would get for "ftp://ya\@kde.org/". I doubt
applications are analyzing the URL before requesting an adjustPath(-1).
make check fails, but for another case:
"kurltest: amantia.url() : checking 'http://?.foo' against expected
value 'http://xn--80a.foo'... KO !"
The attached kurltext.cpp addition proves it:
KURL ftpurl1("ftp://ftp.kde.org/");
ftpurl1.adjustPath(-1);
KURL ftpurl2("ftp://ftp.kde.org///");
ftpurl2.adjustPath(-1);
check("ajdustPath(-1)", ((ftpurl1.url() != ftpurl2.url())?"ko":"ok"),
"ok");
Andras
--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic