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
As discussed in issue #202, the HockeyApp Sparkle feed URLs now redirect to the equivalent App Center feed.
However, depending on the form of the HTTP request used to access the Sparkle feed, the HockeyApp sparkle URL sometimes erroneously return a 200 OK with old data.
Specifically, as far as I can tell, it seems to depend on the contents of the Accept: header. These are the combinations I have tested.
Accept: Header
Result
Notes
Not present
200 OK and old data ❌
This it what happens when you naively curl the feed.
Accept:
301 redirect ✅
Accept: */*
200 OK and old data ❌
This accept header is used by some versions of Sparkle in the wild.
The specific feed URL I used for the tests above is https://rink.hockeyapp.net/api/2/apps/58adb6c5bea28ffe22f304f2f383d089.
Please note that this bug means that version of apps out in the wild (including my own) are unable to update.
The text was updated successfully, but these errors were encountered:
pilotmoon
changed the title
Sparkle feed redirect is only applied in some circumstances
Sparkle feed URL fails to redirect in some circumstances
Oct 21, 2019
@invariant Thanks for reporting this. We rolled out a fix and the redirect should now also work in the case the feed is requested for a macOS app but no accept headers are send. Please let us know if you see any issues.
As discussed in issue #202, the HockeyApp Sparkle feed URLs now redirect to the equivalent App Center feed.
However, depending on the form of the HTTP request used to access the Sparkle feed, the HockeyApp sparkle URL sometimes erroneously return a
200 OK
with old data.Specifically, as far as I can tell, it seems to depend on the contents of the
Accept:
header. These are the combinations I have tested.Accept:
Headercurl
the feed.Accept:
Accept: */*
The specific feed URL I used for the tests above is
https://rink.hockeyapp.net/api/2/apps/58adb6c5bea28ffe22f304f2f383d089
.Please note that this bug means that version of apps out in the wild (including my own) are unable to update.
The text was updated successfully, but these errors were encountered: