rspec/rules/S3752/comments-and-links.adoc

15 lines
829 B
Plaintext

=== on 27 Feb 2017, 18:58:51 Ann Campbell wrote:
{empty}.
=== on 15 Apr 2019, 14:41:19 Dennis Devriendt wrote:
I agree that not specifying a HTTP method should be a blocking issue but that shouldn't be the case if you explicitly specify that both GET and POST are supported. For example the OpenID-Connect /userinfo endpoint should support both GET and POST requests according to the spec.
----
@RequestMapping(value = "/oauth/userinfo", method = {GET, POST}, produces = APPLICATION_JSON_VALUE)
----
This will trigger with the message: "Consider narrowing this list of methods to one"
=== on 15 Apr 2019, 14:46:48 Alexandre Gigleux wrote:
Thanks for the feedback. Could you raise your concern on the https://community.sonarsource.com/c/bug/fp[Community Forum] instead of here, as it's easier that using JIRA's comments? Thx