-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nsqadmin: confirm actions #118
Conversation
+1 for that. |
+1, bonus +1 for use of 'crash whole civilisation' (it's true.) |
@@ -275,7 +276,7 @@ func lookupHandler(w http.ResponseWriter, req *http.Request) { | |||
} | |||
|
|||
func createTopicChannelHandler(w http.ResponseWriter, req *http.Request) { | |||
reqParams, err := util.NewReqParams(req) | |||
reqParams, err := util.NewBodyReqParams(req) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's switch to explicitly require POST, and to use req.FormValue(key)
so this handles multipart forms as well.
updates to change parsing of post body look good. Please squash. |
rebased/squashed |
log topic name for channel
for a variety of reasons this is a good idea :)