Skip to content

Commit 6fe19a1

Browse files
Attempt to get Acrolinx > 80
1 parent 690e1d7 commit 6fe19a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

learn-pr/advocates/top-5-security-items-to-consider/3-inputs-and-outputs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ quiz:
1717

1818
- content: "Which of the following data sources need to be validated?"
1919
choices:
20-
- content: "Data from a 3rd party API"
20+
- content: "Data from a third-party API"
2121
isCorrect: false
2222
explanation: "This is just one of many sources that needs to be validated."
2323
- content: "Data from the URL parameter"
@@ -34,10 +34,10 @@ quiz:
3434
choices:
3535
- content: "They're more organized than inline database commands, and therefore less confusing for users."
3636
isCorrect: false
37-
explanation: "Organization of the code is not the reason that parameterized queries are more secure than inline SQL."
37+
explanation: "Organization of the code isn't the reason that parameterized queries are more secure than inline SQL."
3838
- content: "There's a clear outline of the script in the stored procedure, ensuring better visibility."
3939
isCorrect: false
40-
explanation: "Clear outline of the script is not the reason that parameterized queries are more secure than inline SQL."
40+
explanation: "Clear outline of the script isn't the reason that parameterized queries are more secure than inline SQL."
4141
- content: "Parameterized queries substitute variables before running queries, meaning it avoids the opportunity for code to be submitted in place of a variable."
4242
isCorrect: true
4343
explanation: "Parameter fields used in parameterized queries are treated as data, not code, protecting against injection vulnerabilities. For more information on how to implement parameterized queries please see the [OWASP Query Parameterization Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Query_Parameterization_Cheat_Sheet.html)."
@@ -50,9 +50,9 @@ quiz:
5050
- content: "Data to be output to the screen"
5151
isCorrect: true
5252
explanation: "Data sent to the screen needs to be output encoded to ensure it's never interpreted as code."
53-
- content: "Data sent to a 3rd party API"
53+
- content: "Data sent to a third-party API"
5454
isCorrect: false
55-
explanation: "Although data sent to a 3rd party API needs to be validated to ensure the data is good, we don't need to encode it for output."
55+
explanation: "Although data sent to a third-party API needs to be validated to ensure the data is good, we don't need to encode it for output."
5656
- content: "Data in the URL parameters"
5757
isCorrect: false
5858
explanation: "Although data from URL Parameters needs to be validated before it's used in our application, we don't need to encode it for output."

0 commit comments

Comments
 (0)