Bug: Ntfy supportsMedia() inconsistency #126

Closed
opened 2026-06-06 11:50:12 +00:00 by jmiller · 1 comment
Owner

Audit Finding

Severity: Low

Issue:
NtfyService::supportsMedia() returns true but getSupportedMediaTypes() returns [] (empty). These should be consistent.

Fix: Set supportsMedia() to false, or add attachment support via ntfy's attach header.

Files: plg_mokojoomcross_ntfy/NtfyService.php

## Audit Finding **Severity:** Low **Issue:** `NtfyService::supportsMedia()` returns `true` but `getSupportedMediaTypes()` returns `[]` (empty). These should be consistent. **Fix:** Set `supportsMedia()` to `false`, or add attachment support via ntfy's attach header. **Files:** `plg_mokojoomcross_ntfy/NtfyService.php`
Author
Owner

Branch created: feature/126-bug-ntfy-supportsmedia-inconsistency

git fetch origin
git checkout feature/126-bug-ntfy-supportsmedia-inconsistency
Branch created: [`feature/126-bug-ntfy-supportsmedia-inconsistency`](https://git.mokoconsulting.tech/MokoConsulting/MokoJoomCross/src/branch/feature/126-bug-ntfy-supportsmedia-inconsistency) ```bash git fetch origin git checkout feature/126-bug-ntfy-supportsmedia-inconsistency ```
Sign in to join this conversation.