mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
add qhelp file
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE qhelp PUBLIC
|
||||
"-//Semmle//qhelp//EN"
|
||||
"qhelp.dtd">
|
||||
<qhelp>
|
||||
<overview>
|
||||
<p>
|
||||
Manually checking the HTTP request verb inside of a controller method can lead to
|
||||
CSRF bypass if GET or HEAD requests are handled improperly.
|
||||
</p>
|
||||
</overview>
|
||||
<recommendation>
|
||||
<p>
|
||||
It is better to use different controller methods for each resource/http verb combination
|
||||
and configure the Rails routes in your application to call them accordingly.
|
||||
</p>
|
||||
</recommendation>
|
||||
|
||||
<references>
|
||||
<p>
|
||||
See https://guides.rubyonrails.org/routing.html for more information.
|
||||
</p>
|
||||
</references>
|
||||
</qhelp>
|
||||
Reference in New Issue
Block a user