Skip to content

Common: Fix aircraft photos not loading#125

Merged
d4rken merged 1 commit into
mainfrom
fix/planespotters-user-agent-contact
May 30, 2026
Merged

Common: Fix aircraft photos not loading#125
d4rken merged 1 commit into
mainfrom
fix/planespotters-user-agent-contact

Conversation

@d4rken
Copy link
Copy Markdown
Member

@d4rken d4rken commented May 30, 2026

Aircraft photos stopped loading because the Planespotters photo API now rejects requests whose User-Agent has no contact URL or email, responding with HTTP 403.

  • Added the project's repository URL as a contact token to the app's User-Agent, satisfying the API's requirement.
  • Applied at the shared HTTP-client layer so every API request carries it.
  • Updated and added unit tests asserting the User-Agent includes the contact URL.

Closes #124

@d4rken d4rken added the bug Something isn't working label May 30, 2026
@d4rken d4rken merged commit 0945b82 into main May 30, 2026
9 checks passed
@d4rken d4rken deleted the fix/planespotters-user-agent-contact branch May 30, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No photos shown

1 participant