Add permission for dl.google.com access in Tauri HTTP capabilities #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds HTTP permission for the application to access
dl.google.comby updating the Tauri capabilities configuration.Changes Made
https://dl.google.comto the HTTP permission allowlist insrc-tauri/capabilities/desktop.jsonBackground
The application's HTTP requests are controlled by Tauri's security capabilities system. Previously, only
*.115.comdomains were permitted for HTTP access. This change extends the permission to include Google's download domain while maintaining the existing security restrictions.Technical Details
The change updates the
http:defaultpermission configuration to include:{ "url": "https://dl.google.com" }This follows Tauri's security best practices by explicitly allowlisting only the required domains rather than opening broader network access.
Testing
The change is minimal and surgical, adding only the specific domain permission needed without affecting any other application behavior.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.