Skip to content

fix: strictly new remote file type and related improvements#682

Merged
ACTCD merged 2 commits into
mainfrom
fix/new-remote-url
Aug 2, 2024
Merged

fix: strictly new remote file type and related improvements#682
ACTCD merged 2 commits into
mainfrom
fix/new-remote-url

Conversation

@ACTCD

@ACTCD ACTCD commented Aug 1, 2024

Copy link
Copy Markdown
Collaborator

Thanks to @kfatehi for discovering and reporting this issue.

When there are query parameters, the remote file type cannot be correctly determined and the wrong file name is saved.

This PR refactors and fixes the processes involved.

Pre-verify URL validity, correctly determine the file type and fetch directly in the JS layer instead of the native layer.

Show remote URL instead of random filename.

Pre-verify URL validity, fetch directly in the JS layer instead of the native layer.
@ACTCD ACTCD requested a review from quoid August 1, 2024 21:13
@ACTCD ACTCD merged commit cfa656f into main Aug 2, 2024
@ACTCD ACTCD deleted the fix/new-remote-url branch August 2, 2024 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants