| Summary: | special characters in file names reported by slocate are not converted to valid urls | ||
|---|---|---|---|
| Product: | [Applications] kfind | Reporter: | Georg Hennig <georg298> |
| Component: | general | Assignee: | Eric Coquelle <coquelle> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | fixes the bug for kde 3.5.1 | ||
|
Description
Georg Hennig
2006-02-12 01:17:52 UTC
Created attachment 14648 [details]
fixes the bug for kde 3.5.1
the problem doesn't seem to be solved on current svn.
SVN commit 607835 by mkoller:
BUG: 121806
fix KURL usage with filenames including special chars
Patch provided by Georg Hennig
M +1 -1 kquery.cpp
--- branches/KDE/3.5/kdebase/kfind/kquery.cpp #607834:607835
@@ -153,7 +153,7 @@
for (; it != end; ++it)
{
- file = new KFileItem( KFileItem::Unknown, KFileItem::Unknown, KURL(*it));
+ file = new KFileItem( KFileItem::Unknown, KFileItem::Unknown, KURL::fromPathOrURL(*it));
processQuery(file);
delete file;
}
|