Bug in KURL handling(?)

Thiago Macieira thiago.macieira at kdemail.net
Tue Dec 14 12:31:42 GMT 2004


Andras Mantia wrote:
>Ok, I see. I think this is a point where the fact that Konqueror is both
>a file manager and a browser is not the best thing. In a browser one
>expects that every path is converted to a file:/// URL, and this way
>anchors work there (just try Firefox for example), while in a file
>manager one would expect that a file is accessed.
> Whatever, thankfully people usually don't type such entries in the
>location bar too often.

If you type in the Location bar:
	/home/user/filename#anchor

Konqueror should display:
	file:///home/user/filename%23anchor

And probably report a problem that the file cannot be found. That way, the 
person will know after the first attempt what is going on.

The current behaviour is not acceptable, in which it displays # in the 
Location bar both for anchors and for %23. Could this be a problem with 
KURL::prettyURL() ?

-- 
  Thiago Macieira  -  Registered Linux user #65028
   thiago (AT) macieira (DOT) info
    ICQ UIN: 1967141   PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
Hwonne seo worulde wæs geong and time_t wæs 0, God gæf þæt Unix þære 
worulde. And æfter se God logode in, lá! þæt Unix cwæð "Hello, World" and 
ǽghwilc wæs glæd.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20041214/2983a4f2/attachment.sig>


More information about the kde-core-devel mailing list