Summary: | non-standard ~/.thumbnails/ filenames (see rfc2396) | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | Eric Wilhelm <ewilhelm> |
Component: | thumbnail | Assignee: | Malte Starostik <malte> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | nate, nicolasg |
Priority: | NOR | ||
Version: | 3.3.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Eric Wilhelm
2005-05-09 07:16:17 UTC
As far as I understand, canonical means that for example %7e and ~ are the same, see 2.4.2. As for absolute, anything like http://www.koffice.org/developer is absolute. (Sorry for the symlinks!) As far as I see in the code, the MD5 hash is done on the (nearly-)localized file name. Have a nice day! As KDE trunk uses file:/// by default (and not file:/ anymore), the problem does not appear anymore. (There was a workaround, which indeed encoded nothing for file:/.) So it should work now. Have a nice day! > As far as I understand, canonical means that
> for example %7e and ~ are the same, see 2.4.2.
True, which means that the .thumbnail spec needs to be more clearly defined, since %7e and ~ do not hash the same.
The point of the md5 hash filename is to allow multiple programs to create and find thumbnails with long filenames. I've got one set of thumbnails created by the gimp and gqview with another created by kio.
See 2.4.3 "space character is excluded..."
Please reopen.
Good, I re-open the bug. After reading the documentation of the class KURL, I may have missed some subtleties. (However the trick given there to decode and encode again the uRL does not work, as it encodes even file:) Just one question: do find the behaviour only on local files (protocola file:) or do get it also for remote files? Because as written, file is not a special case anymore while processing a thumbnail in KDE trunk (former CVS HEAD), so if you see problems only in file:, then everything should be fine on newest KDE version. Have a nice day! When I see the discussion about how to support URLs in KDE 4: http://lists.kde.org/?t=111653104600003&r=1&w=2 I think that it is not the right moment to track down the remaining subtleties of this bug. Sorry! Have a nice day! Just fixed yesterday! *** This bug has been marked as a duplicate of bug 393015 *** |