Skip to content

Conversation

@mgallien
Copy link
Collaborator

@mgallien mgallien commented Jun 2, 2025

if a file that uncompresses to a file size under 10 MiB, Qt will allow it

for files with an higher size, they must not have higher compression ratio than what Qt network stack expect

https://doc.qt.io/qt-6/qnetworkrequest.html#setDecompressedSafetyCheckThreshold

we will use a 2 times bigger threshold

Close #7470

@mgallien mgallien added this to the 3.17.0 milestone Jun 2, 2025
@mgallien mgallien force-pushed the bugfix/avoidFailingSmallDownloadForDecompressedSafetyCheck branch from 37725cf to f45cfa9 Compare June 3, 2025 08:13
@mgallien mgallien enabled auto-merge June 3, 2025 08:14
@mgallien mgallien force-pushed the bugfix/avoidFailingSmallDownloadForDecompressedSafetyCheck branch from f45cfa9 to fa99f68 Compare June 3, 2025 10:05
if a file that uncompresses to a file size under 10 MiB, Qt will allow
it

for files with an higher size, they must not have higher compression
ratio than what Qt network stack expect

https://doc.qt.io/qt-6/qnetworkrequest.html#setDecompressedSafetyCheckThreshold

we will use a 2 times bigger threshold

Close #7470

Signed-off-by: Matthieu Gallien <[email protected]>
@mgallien mgallien force-pushed the bugfix/avoidFailingSmallDownloadForDecompressedSafetyCheck branch from fa99f68 to 1144ac4 Compare June 4, 2025 11:52
@github-actions
Copy link

github-actions bot commented Jun 4, 2025

Artifact containing the AppImage: nextcloud-appimage-pr-8333.zip

SHA256 checksum: 96e9d8823e195e5226f84950485caa4bcb669712cc26669b199764417f3653a0

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 4, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
Image 13 New Code Smells (required ≤ 0)
Image E Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Image Catch issues before they fail your Quality Gate with our IDE extension Image SonarQube for IDE

@mgallien mgallien merged commit 07fa350 into master Jun 4, 2025
17 of 18 checks passed
@mgallien mgallien deleted the bugfix/avoidFailingSmallDownloadForDecompressedSafetyCheck branch June 4, 2025 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: "Decompression failed: "

4 participants