Sending a capture: an address still over 500 characters after its fragment is dropped is refused with no sentence of its own #27

Closed
opened 2026-10-04 15:24:43 +00:00 by tiagoagueda · 0 comments
Owner

Left over from #24, whose fix (postulo-chromium b7c8e78) made the extension send addresses within Postulo's limits: the fragment is dropped, and tidy() leaves an address over 500 characters empty.

An address that is still over 500 characters once its fragment is gone (a long query string) is then sent as it is, and the core refuses the capture. The person is shown the core's refusal, not a sentence of the extension's own.

Done when

  • A capture whose address is still over 500 characters is either sent with the address left out, if the core accepts a posting without one, or stopped before sending, with a translated sentence (new message, filled in every language folder, test/i18n.test.mjs).
  • A test covers it in test/outbox.test.mjs or test/api.test.mjs.
Left over from #24, whose fix (postulo-chromium `b7c8e78`) made the extension send addresses within Postulo's limits: the fragment is dropped, and `tidy()` leaves an address over 500 characters empty. An address that is still over 500 characters once its fragment is gone (a long query string) is then sent as it is, and the core refuses the capture. The person is shown the core's refusal, not a sentence of the extension's own. ## Done when - A capture whose address is still over 500 characters is either sent with the address left out, if the core accepts a posting without one, or stopped before sending, with a translated sentence (new message, filled in every language folder, `test/i18n.test.mjs`). - A test covers it in `test/outbox.test.mjs` or `test/api.test.mjs`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Postulo/postulo-chromium#27
No description provided.