Skip to content

fix: Fixed admin toast leaking raw html error output#459

Merged
tuj merged 3 commits into
release/3.0.0from
feature/non-json-error-response-handling
May 26, 2026
Merged

fix: Fixed admin toast leaking raw html error output#459
tuj merged 3 commits into
release/3.0.0from
feature/non-json-error-response-handling

Conversation

@tuj

@tuj tuj commented May 19, 2026

Copy link
Copy Markdown
Contributor

Link to issue

#392

Link to ticket

https://leantime.itkdev.dk/#/tickets/showTicket/7259

Description

Fixed admin toast leaking a raw SyntaxError: Unexpected token '<' when an upload was rejected upstream (e.g. nginx 413); the toast now shows HTTP <status> instead.

Checklist

  • My code is covered by test cases.
  • My code passes our test (all our tests).
  • My code passes our static analysis suite.
  • My code passes our continuous integration process.

@tuj tuj self-assigned this May 19, 2026
@tuj tuj added bug Something isn't working version 3 Issues related to the release of version 3 labels May 19, 2026
@tuj tuj changed the title Fixed admin toast leaking raw html error output fix: Fixed admin toast leaking raw html error output May 19, 2026
@tuj
tuj requested a review from turegjorup May 20, 2026 10:18
@tuj
tuj merged commit ea0bb15 into release/3.0.0 May 26, 2026
@tuj
tuj deleted the feature/non-json-error-response-handling branch May 26, 2026 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working version 3 Issues related to the release of version 3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants