21 Commits

Author SHA1 Message Date
Egon Okerman
7632676854
Modify rule S5131: Fix Spring example (#3637)
* Fix Spring examples

* Remove unnecessary ResponseBody annotations
2024-02-12 13:33:08 +01:00
Marco Borgeaud
7da1e57a15
Diff blocks: fix some incorrect use for java (#2801) 2023-08-10 17:12:37 +02:00
Fred Tingaud
51369b610e
Make sure that includes are always surrounded by empty lines (#2270)
When an include is not surrounded by empty lines, its content is inlined
on the same line as the adjacent content. That can lead to broken tags
and other display issues.
This PR fixes all such includes and introduces a validation step that
forbids introducing the same problem again.
2023-06-22 10:38:01 +02:00
Ilia Kebets
c80d7f3b4c
Add checks for education format (#1607) 2023-03-07 17:16:47 +01:00
Loris S
e52b9671b2 Education text Fix (#1338) 2023-03-02 18:22:24 +01:00
Loris S
8815e23ae8 Modify All Current Education Rules: Support intuitive view (#1256) 2023-03-02 18:22:24 +01:00
Loris S
cff3fc8804 Modify S5131(Multiple Languages): Add CSPs to 'Going The Extra Mile' (#1239) 2023-03-02 18:22:24 +01:00
Loris S
1253c0a013 Modify Multiple Rules(Education): Standardization of impact files (#1240) 2023-03-02 18:22:24 +01:00
hendrik-buchwald-sonarsource
ef80aeb0bf [Education] Modify rule S5131: Improve language (#1177) 2023-03-02 18:07:54 +01:00
Christophe Zurn
7c36d2a006 SONARSEC-3113 Update code example layouts of S5131 (XSS) rule description 2023-03-02 18:07:54 +01:00
Christophe Zurn
bb64555a09 SONARSEC-3109 Merge all resources together 2023-03-02 18:07:54 +01:00
Christophe Zurn
e7cf1c030e SONARSEC-3109 S5131 XSS rule should contain context-specific patches 2023-03-02 18:07:54 +01:00
Christophe Zürn
e8563c6351 [Education] Update code example layout of S5131 (XSS) (#1018)
* Update code examples of data encoding to use more vertical space

* Compliant / Noncompliant code examples are one after the other
2023-03-02 18:07:54 +01:00
Christophe Zürn
8ee3e9e8c7 Remove headers for empty section (#1017) 2023-03-02 18:07:54 +01:00
Roberto Orlandi
83eefb94b5 Education s5131 one file per language (#1002) 2023-03-02 18:07:54 +01:00
Fred Tingaud
b4161466e6
RULEAPI-661: Add syntax coloring 2022-02-04 16:28:24 +00:00
Arseniy Zaostrovnykh
f7904cebe7
RULEAPI-666: Migrate the "List of parameters", "Highlighting" and "Message" fields from jira RSPEC (#346) 2021-09-20 13:38:42 +00:00
Arseniy Zaostrovnykh
b76bc57083
RULEAPI-576: add a horizontal rule between rule description and comments 2021-06-08 15:52:13 +02:00
Arseniy Zaostrovnykh
6c1ad2c13c Fix the comment display: rule-id, timestamp, GH visibility, link direction 2021-06-03 09:05:38 +02:00
Arseniy Zaostrovnykh
cdd7690a79 Export comments and rspec-to-rspec links from jira 2021-06-02 20:44:38 +02:00
Alban Auzeill
0329b1564c Add rules 5000-5999 2020-06-30 17:16:12 +02:00