gui downloaded() mis-parses failure messages #141

Closed
opened 2026-08-24 11:48:57 -04:00 by mysticalsoap · 0 comments
Owner

aqomui_gui.py downloaded() checks len(msg.split('&')) >= 2 for the failure branch but then indexes split[2] — a two-field message raises IndexError in the handler. Any no-'&' string falls into the success branch and gets treated as a provider name, i.e. opened as ~/.aqomui/.json. #138 removes the last producer of such a message (Airvpn's 'Sorry, something went wrong'), but the parser stays fragile: it trusts the signal payload's shape completely. Found surveying for #23.

aqomui_gui.py downloaded() checks len(msg.split('&')) >= 2 for the failure branch but then indexes split[2] — a two-field message raises IndexError in the handler. Any no-'&' string falls into the success branch and gets treated as a provider name, i.e. opened as ~/.aqomui/<msg>.json. #138 removes the last producer of such a message (Airvpn's 'Sorry, something went wrong'), but the parser stays fragile: it trusts the signal payload's shape completely. Found surveying for #23.
Sign in to join this conversation.
No milestone
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
mysticalsoap/aqomui#141
No description provided.