aboutsummaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-12-31 17:42:33 +0100
committerdefault <nobody@localhost>2024-12-31 17:42:33 +0100
commit33b6f2af00de70a7c0eb768ea7bf815d2f124aae (patch)
tree1b418e6deb960e424bbfbd0b6b9437d6be87dc6a /httpd.c
parent5c330660cda0bb7423d7e3f07924e56941455599 (diff)
More work in the Mastodon-share webpoint.
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpd.c b/httpd.c
index f567d17..626ae9d 100644
--- a/httpd.c
+++ b/httpd.c
@@ -173,7 +173,7 @@ const char *share_page = ""
"<style>:root {color-scheme: light dark}</style>\n"
"</head>\n"
"<body><h1>%s link share</h1>\n"
-"<form method=\"post\" action=\"%s/share-bridge\">\n"
+"<form method=\"get\" action=\"%s/share-bridge\">\n"
"<textarea name=\"content\" rows=\"6\" wrap=\"virtual\" required=\"required\" style=\"width: 50em\">%s</textarea>\n"
"<p>Login: <input type=\"text\" name=\"login\" autocapitalize=\"off\" required=\"required\"></p>\n"
"<input type=\"submit\" value=\"OK\">\n"