12 Commits

Author SHA1 Message Date
Egon Okerman
e57e13754a
Fix ifeval not passing CI 2024-03-13 16:55:16 +01:00
Egon Okerman
51899b01b8
Move S5527 reference to common file 2024-03-12 14:51:33 +01:00
Egon Okerman
e5c533cf2f
Add hostname verification explanation to relevant libraries 2024-03-08 00:20:44 +01:00
Egon Okerman
330667a0f3
Modify rule S4830: Add HTTPX support (APPSEC-1259) (#3411)
* Add HTTPX

* Fix diff IDs

* Update rules/S4830/python/how-to-fix-it/httpx.adoc

Co-authored-by: daniel-teuchert-sonarsource <141642369+daniel-teuchert-sonarsource@users.noreply.github.com>

---------

Co-authored-by: daniel-teuchert-sonarsource <141642369+daniel-teuchert-sonarsource@users.noreply.github.com>
2024-02-29 12:14:15 +01:00
daniel-teuchert-sonarsource
41bb87f256
Modified S4830 to support aiohttp (#3419) 2024-02-29 11:49:55 +01:00
daniel-teuchert-sonarsource
c79e30a528
Modify Rule S4830: Revert aiohttp support (APPSEC-1361) (#3418)
## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)
2023-11-07 11:23:37 +01:00
Egon Okerman
6417c38013
Modify rule S2092, S3330, S4830, S5131, S5144: Revert FastAPI changes (#3408)
The PRs #3365, #3374, #3386, #3391 and #3392 were merged before
implementation. This reverts them, to be merged only once implemented.

## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)
2023-11-06 15:58:47 +00:00
daniel-teuchert-sonarsource
53c90eecdc
Modify Rule S4830: Add aiohttp support (APPSEC-1361) (#3383)
## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)
2023-10-31 15:43:03 +01:00
Egon Okerman
d735db063f
Modify rule S4830: Add HTTPX support (APPSEC-1259) (#3374)
## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)

---------

Co-authored-by: daniel-teuchert-sonarsource <141642369+daniel-teuchert-sonarsource@users.noreply.github.com>
2023-10-30 17:07:15 +01:00
Fred Tingaud
d3cfe19d7e
Fix broken or dangerous backquotes
Co-authored-by: Marco Borgeaud <89914223+marco-antognini-sonarsource@users.noreply.github.com>
2023-10-30 10:33:56 +01:00
Marco Borgeaud
8209548e54
Diff blocks: fix incorrect use for python (#2795)
Improvement identified in #2790.

Add a prefix to the diff-id when it is used multiple times in different
"how to fix it in XYZ" sections to avoid ambiguity and pedantically
follow the spec:

> A single and unique diff-id should be used only once for each type of
code example as shown in the description of a rule.

Obvious typos around `diff-type` were fixed.

An obvious extra use of diff blocks was removed.
2023-08-21 15:22:49 +02:00
hendrik-buchwald-sonarsource
d825cbc5b9
Modify rule S4830: LaYC format (#2176) 2023-06-20 13:26:14 +02:00