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
Ilia Kebets
c80d7f3b4c
Add checks for education format ( #1607 )
2023-03-07 17:16:47 +01:00
Egon Okerman
e60621dc83
[APPSEC-272] Modify rule S2091 (PHP): Change text to the education framework format ( #1403 )
...
* Add PHP education
* Fix metadata being empty
* Apply review suggestions
* Remove line breaks for spell check
2023-03-02 19:03:03 +01:00
Egon Okerman
f22ae4c3e2
[APPSEC-271] Modify rule S2091: Change text to the education framework format [Python] ( #1396 )
...
* Add rule information
* Add lxml
* Add Python stdlib
* Change the XPath queries such that they're correct
* Remove nonexistant highlighting reference
* Add lxml as allowed framework
* Split up parameterized queries and validation
* Fix typo
* Make changes in Java docs
* Fix .NET text
* Update rules/S2091/python/how-to-fix-it/python.adoc
Co-authored-by: Pierre-Loup <49131563+pierre-loup-tristant-sonarsource@users.noreply.github.com>
* Update common texts
* Update code samples
* Fix typo
* Use correct syntax for lxml
* Apply code review fixes
Co-authored-by: Pierre-Loup <49131563+pierre-loup-tristant-sonarsource@users.noreply.github.com>
2023-03-02 19:03:03 +01:00