Skip to content

fix(sync): allow plain HTTP to IPv6 link-local stores as the spec does - #446

Merged
A-EDev merged 2 commits into
mainfrom
fix/sync2-link-local-http
Nov 8, 2026
Merged

A-EDev merged 2 commits into
mainfrom
fix/sync2-link-local-http

Conversation

@A-EDev

@A-EDev A-EDev commented Nov 7, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

spec/store.md allows plain HTTP to a link-local address, but the check left out IPv6 link-local (fe80::/10). So a store at such an address, or a .local name resolving to one, was refused as insecure. The store transport now accepts them. The QR code check is unchanged, since a QR can't carry a zone id.

Related issue

None.

Change type

  • Bug fix

Validation

  • cargo fmt --all: run before committing.
  • cargo test --test sync2_server in src-tauri: 17 passed. The new assertions failed first (fe80::1 refused), and fec0::1 stays refused.
  • CI runs the full suite on this PR.
  • Only the address check was run. No real connection to a link-local store was made, and a URL can't name a zone id, so a literal fe80:: may still fail to route on some machines.

Risk and compatibility

No format change. Link-local joins the private ranges that are already allowed.

  • No new secrets, private data, telemetry, or broad Tauri permissions were introduced.

Copilot AI balanced review requested due to automatic review settings November 7, 2026 13:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

…http

# Conflicts:
#	src-tauri/src/sync2/http.rs
@A-EDev
A-EDev merged commit 2e75103 into main Nov 8, 2026
7 checks passed
@A-EDev
A-EDev deleted the fix/sync2-link-local-http branch November 8, 2026 19:13
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