You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In version 1.11.2, the fileName parameter is no longer being considered in the enqueue method.
As a result, the final file name is derived from the URL instead of using the specified fileName.
Xcode even issues a warning regarding the unused fileName variable.
This problem does not exist in version 1.11.1.
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.4, on macOS 12.6 21G115 darwin-arm64)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.81.1)
[✓] Connected device (2 available)
[✓] Network resources
The text was updated successfully, but these errors were encountered:
Hello @united3 this was for the security update. the file name imposes a vulnerability. i can check if there's a workaround
united3
changed the title
iOS: Parameter fileName not applies to downloaded files
iOS: Parameter fileName don't applies to downloaded files
Sep 18, 2023
united3
changed the title
iOS: Parameter fileName don't applies to downloaded files
iOS: Parameter fileName doesn't apply to downloaded files
Sep 18, 2023
Description:
In version 1.11.2, the
fileName
parameter is no longer being considered in theenqueue
method.As a result, the final file name is derived from the URL instead of using the specified
fileName
.The issue is likely rooted in this method:
https://github.com/fluttercommunity/flutter_downloader/pull/887/files#diff-4f15491f7711a4fcbcc449dbf58ed7a1bf3fbce26a29ff0ff75840f4454b1e0fL346
Xcode even issues a warning regarding the unused
fileName
variable.This problem does not exist in version 1.11.1.
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.4, on macOS 12.6 21G115 darwin-arm64)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.81.1)
[✓] Connected device (2 available)
[✓] Network resources
The text was updated successfully, but these errors were encountered: