mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[PR #469] [MERGED] Fix bug where GET or HEAD action requests could not be made from the web client #1311
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#1311
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/binwiederhier/ntfy/pull/469
Author: @ollien
Created: 11/7/2022
Status: ✅ Merged
Merged: 11/7/2022
Merged by: @binwiederhier
Base:
main← Head:fetch-get-body📝 Commits (1)
93cacc3Fix bug where GET or HEAD action requests could not be made from the web client📊 Changes
1 file changed (+3 additions, -1 deletions)
View changed files
📝
web/src/components/Notifications.js(+3 -1)📄 Description
See #468 for details on the bug this fixes.
The cause of this comes down to a subtlety of the
fetchAPI. Ifbodyis anything that is non-nullish, the browser will spit back that a body is not allowed for a GET/HEAD request. The fix is just to remove the null coalesce :)Closes #468
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.