https://bugs.kde.org/show_bug.cgi?id=521162
--- Comment #4 from PQCraft <[email protected]> --- I took a look at the commit, and wouldn't it be better to chop off the \n and \r *before* calling fromPercentEncoding() like so?: QByteArray line = m3uFile.readLine(); while (line.endsWith('\n') || line.endsWith('\r')) { line.chop(1); } line = QByteArray::fromPercentEncoding(line); This would make sure that it wouldn't break in the rare case where a URL contains %0A or %0D at the end -- You are receiving this mail because: You are watching all bug changes.
