[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-frameworks-devel
Subject: D24489: KAutosaveFile not respecting maximum filename length
From: Nathaniel Graham <noreply () phabricator ! kde ! org>
Date: 2019-12-01 18:46:24
Message-ID: e089844090ff67f7d13b5a0227d45823 () localhost ! localdomain
[Download RAW message or body]
[Attachment #2 (text/plain)]
ngraham edited the summary of this revision.
REPOSITORY
R244 KCoreAddons
REVISION DETAIL
https://phabricator.kde.org/D24489
To: mardelle, #frameworks, dfaure
Cc: ahmadsamir, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
[Attachment #3 (text/html)]
<table><tr><td style="">ngraham edited the summary of this revision. <a \
href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-hr36bfgfsawayro/">(Show \
Details)</a> </td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px \
8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; \
background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); \
display: inline-block; border: 1px solid rgba(71,87,120,.2);" \
href="https://phabricator.kde.org/D24489">View Revision</a></tr></table><br \
/><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: \
pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>2- We are \
calculating the maximum length on the UTF-8 string, then encoding to percent \
encoding. This can result in longer strings since single characters will be replaced \
by a percent string. So in some situations, we end up with a string longer than \
allowed. Doing the percent encoding before length calculation fixes the problem.<br \
/> <br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, \
.7);">This fixes the follwing bug: https://bugs.kde.org/show_bug.cgi?id=</span><span \
style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">BUG: \
</span>412519</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R244 \
KCoreAddons</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a \
href="https://phabricator.kde.org/D24489">https://phabricator.kde.org/D24489</a></div></div><br \
/><div><strong>To: </strong>mardelle, Frameworks, dfaure<br /><strong>Cc: \
</strong>ahmadsamir, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, \
bruns<br /></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic