Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

knowledge_moderate view should only accept POST requests #18

Closed
SmileyChris opened this issue Feb 22, 2012 · 3 comments
Closed

knowledge_moderate view should only accept POST requests #18

SmileyChris opened this issue Feb 22, 2012 · 3 comments

Comments

@SmileyChris
Copy link

No description provided.

@bryanhelmig
Copy link
Member

Not a bad idea, any advice on a simple form based way to do this without JS? I supposed a series of simple forms...

<form method="post" action="url"><input type="submit" value="mod_type /></form>

...would suffice?

@SmileyChris
Copy link
Author

Yep, that's what I'd do. Key here is that a GET request should never be a dangerous action.

@bryanhelmig
Copy link
Member

Yeah, good point.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants