https://bugs.kde.org/show_bug.cgi?id=481702
--- Comment #6 from René Paw Christensen <[email protected]> --- Méven Car @meven, I saw that Nate Graham @ngraham asked: > What if there really is a config file that's greater than 1 MiB in size? > Wouldn't this completely break the app that tries to load it? Could you for instance do something like this: if ( `.desktop` file is < then for instance 1 mb in size ) process it as normal. else if ( BOM indicates a text file using a supported encoding (UTF-8 etc.) ) process it as normal else treat is as a non `.desktop` file, and ignore I know that still leaves the possibility for a large text file without Byte Order Mark not being processed. Just a suggestion. -- You are receiving this mail because: You are watching all bug changes.
