Closed Bug 1308994 Opened 8 years ago Closed 8 years ago

encodeURIComponent for sync batch/atomic upload query parameter

Categories

(Firefox :: Sync, defect, P1)

defect

Tracking

()

RESOLVED FIXED
Firefox 52
Tracking Status
firefox50 --- unaffected
firefox51 --- fixed
firefox52 --- fixed

People

(Reporter: tcsc, Assigned: tcsc)

References

Details

Attachments

(1 file)

This is extremely embarrassing, I forgot to push this after getting it as part of the required fixes in bug 1253051 comment 33. Without this, batch uploads are probably completely broken in practice :(. I've also found another bug in some config parsing edge cases that AFAIK can't be hit at the moment, but are worth fixing nonetheless -- since if these conditions were ever hit, batching would be totally broken. LMK if I should split this off. Note that this will probably need uplifting to wherever atomic uploads have made it by now.
Comment on attachment 8799474 [details] Bug 1308994 - Use encodeURIComponent on sync upload batch id, and fix configuration checking https://reviewboard.mozilla.org/r/84640/#review83278
Attachment #8799474 - Flags: review?(markh) → review+
This will need uplift to 51
Priority: -- → P1
Pushed by tchiovoloni@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4b0b027c18a6 Use encodeURIComponent on sync upload batch id, and fix configuration checking r=markh
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
Comment on attachment 8799474 [details] Bug 1308994 - Use encodeURIComponent on sync upload batch id, and fix configuration checking Approval Request Comment [Feature/regressing bug #]: Bug 1253051 [User impact if declined]: Can't fully deploy server-side batch API (which helps prevent sync data corruption) to production without this. [Describe test coverage new/current, TreeHerder]: Tested manually -- LMK if I need to add tests in order for this to get uplifted. [Risks and why]: Low risk limited to Sync. (Batch API can also be disabled on servers that have it, and most production servers don't have it yet) [String/UUID change made/needed]: None
Attachment #8799474 - Flags: approval-mozilla-aurora?
Comment on attachment 8799474 [details] Bug 1308994 - Use encodeURIComponent on sync upload batch id, and fix configuration checking Fix issue related to atomic upload. Take it in 51 aurora.
Attachment #8799474 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: