-
Notifications
You must be signed in to change notification settings - Fork 22
rollback_allowed breaks the server (lacks support for protocol V3.1?) #51
Copy link
Copy link
Open
Description
I'm testing some of the update-related policies for Brave, and in order to do that I tried to downgrade.
However, the server returns a "Bad Request" when rollback_allowed="true" in <updatecheck/>.
Example:
curl --verbose \
'https://updates.bravesoftware.com/service/update2' \
--data '<?xml version="1.0" encoding="UTF-8"?><request protocol="3.0" updater="Omaha" updaterversion="1.3.361.111" shell_version="1.3.361.111" ismachine="1" sessionid="XXX" installsource="update3web-ondemand" testsource="auto" requestid="XXX" periodoverridesec="1920" dedup="cr" domainjoined="1"><hw physmemory="8" sse="1" sse2="1" sse3="1" ssse3="1" sse41="1" sse42="1" avx="1"/><os platform="win" version="XXX" sp="" arch="x64"/><app appid="{AFE6A462-C574-4B8A-AF43-4CC60DF4563B}" version="99.1.36.122" nextversion="" ap="x64-rel" lang="" brand="GGLS" client="" installage="0" installdate="5565"><updatecheck rollback_allowed="true" targetversionprefix="99.1.36.122"/><ping rd="5566" ping_freshness="XXX"/></app></request>'^ This fails
curl --verbose \
'https://updates.bravesoftware.com/service/update2' \
--data '<?xml version="1.0" encoding="UTF-8"?><request protocol="3.0" updater="Omaha" updaterversion="1.3.361.111" shell_version="1.3.361.111" ismachine="1" sessionid="XXX" installsource="update3web-ondemand" testsource="auto" requestid="XXX" periodoverridesec="1920" dedup="cr" domainjoined="1"><hw physmemory="8" sse="1" sse2="1" sse3="1" ssse3="1" sse41="1" sse42="1" avx="1"/><os platform="win" version="XXX" sp="" arch="x64"/><app appid="{AFE6A462-C574-4B8A-AF43-4CC60DF4563B}" version="99.1.36.122" nextversion="" ap="x64-rel" lang="" brand="GGLS" client="" installage="0" installdate="5565"><updatecheck targetversionprefix="99.1.36.122"/><ping rd="5566" ping_freshness="XXX"/></app></request>'^ This works
Updater protocol reference: LINK
P.S.: I would gladly avoid rollbacks, but instances of brave installed from a standalone installer don't seem to be able to update correctly. (EDIT: I might have downloaded a non-release setup.exe, so this might be on me)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels