[PATCH] Don't percent-encode URL completions

Jeff Mitchell kde-dev at emailgoeshere.com
Fri Apr 4 16:06:39 BST 2008


Jeff Mitchell wrote:
> Jeff Mitchell wrote:
>> KUrlCompletion tries to detect if it is completing on a URL and 
>> percent-encode if so.  The problem is that when the user is actually 
>> typing a URL that is being completed, they are doing it with slashes, 
>> so you end up with a URL that is all slashes except for the completed 
>> part:
>>
>> file:///home/jeff/Test%2FDirectory
> 
> I realized this is a bad example...a better, typical case is:
> 
> file:///home/jeff/Test Directory/Test 
> Subdirectory/Spaces%2FEncoded%2FOnly%2FHere%2FHow%2FSilly
> 
> --Jeff

Committed in r793612.

--Jeff




More information about the kde-core-devel mailing list