KURL missed malformed string

Dawit A. adawit at kde.org
Wed Jun 4 02:53:38 BST 2003


On Tuesday 20 May 2003 12:51, Michael Goffioul wrote:
> Hi,
>
> I created a KURL with the string "ptal://mlc:usb:PC_970" which is
> malformed (at least I guess so). However, KURL::isMalformed() returns
> false and the stored URL is then converted to
> "ptal://mlcusb:PC_970". The first colon has disappeared. Is this
> normal?

Nope. It is a bug in the parser. It should have detected the above URL as 
malformed.

Regards,
Dawit A.




More information about the kde-core-devel mailing list