Skip to content

Commit a740200

Browse files
authored
Fix typos (#2414)
Signed-off-by: Viktor Szépe <[email protected]>
1 parent 9b53f17 commit a740200

File tree

11 files changed

+14
-14
lines changed

11 files changed

+14
-14
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ updates:
2626
schedule:
2727
interval: "daily"
2828
ignore:
29-
# Do not "update" vcr. Later versions switched to a non-OSS licnese.
29+
# Do not "update" vcr. Later versions switched to a non-OSS license.
3030
# This dependency is *only* used during testing,
3131
# so any unintentional vulnerabilities in it don't matter.
3232
- dependency-name: "vcr"

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ gem 'omniauth-github', '~> 2.0' # Authentication to GitHub (get project info)
6666
# security improvement.
6767
# However, omniAuth 2.x uses Rack's built-in AuthenticityToken class,
6868
# NOT Rails' CSRF system. When using Rails, we need to instead use Rails'
69-
# ActionController::RequestForgeryProtection for CSRF proteciton.
69+
# ActionController::RequestForgeryProtection for CSRF protection.
7070
# For a discussion on this countermeasure see:
7171
# <https://github.com/omniauth/omniauth/wiki/Resolving-CVE-2015-9284>.
7272
# At one time I did this:

app/assets/javascripts/project-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function getUnmetResult(criterion, justification) {
158158

159159
// Determine result for a given criterion, which is one of the following:
160160
// criterion_passing, criterion_barely, criterion_justification_required
161-
// criterion_url_requrired, criterion_unknown, criterion_failing
161+
// criterion_url_required, criterion_unknown, criterion_failing
162162
//
163163
// This function is mirrored in app/models/project.rb by "get_criterion_result"
164164
// If you change this function change "get_criterion_result" accordingly.

config/initializers/rack_attack.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Rack::Attack
7676
# rate slower than badge images, so enforce a slower rate.
7777
# We define a non-badge requests as anything either requesting JSON or
7878
# not matching the badge path. Allowing badge images to be requested
79-
# more quickly is not a sercurity issue; badge images
79+
# more quickly is not a security issue; badge images
8080
# are cached by the CDN, are especially fast, and are expected to be
8181
# requested much more often anyway (e.g., ~30 at time via /projects).
8282
# As noted above, this limit does NOT apply to static files (like images)

config/locales/en.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2629,7 +2629,7 @@ en:
26292629
then updating the "standard" libraries as a security
26302630
update will leave these additional copies still vulnerable.
26312631
This is especially an issue for cloud-based systems;
2632-
if the cloud provider updates their "standard" libaries
2632+
if the cloud provider updates their "standard" libraries
26332633
but the program won't use them, then the updates don't
26342634
actually help. See, e.g., <a href="https://spot.livejournal.com/312320.html">"Chromium:
26352635
Why it isn't in Fedora yet as a proper package" by Tom
@@ -2952,7 +2952,7 @@ en:
29522952
from source files and get exactly the same bit-for-bit
29532953
result. In some cases, this can be resolved by forcing
29542954
some sort order. JavaScript developers may consider
2955-
using npm shrinkwrap and webpack OccurenceOrderPlugin.
2955+
using npm shrinkwrap and webpack OccurrenceOrderPlugin.
29562956
GCC and clang users may find the -frandom-seed option
29572957
useful. The build environment (including the toolset)
29582958
can often be defined for external parties by specifying

db/migrate/20170607201552_add_foreign_key_additional_rights.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def change
1010

1111
# Normally in Rails we'd use this to add a reference with a foreign key:
1212
# # add_reference :uploads, :user, foreign_key: true
13-
# or use the alise "belongs_to".
13+
# or use the alias "belongs_to".
1414
# However, we *already* have columns for user_id and project_id,
1515
# so we'll just add what we need.
1616
add_foreign_key :additional_rights, :users

docs/background.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1609,13 +1609,13 @@ point to guidelines to follow (like CERT's).
16091609
See the <a href="http://cwe.mitre.org/data/definitions/120.html">CWE</a>.
16101610
<sup>[<a href="#validate_the_tainted_string">validate_the_tainted_string</a>]</sup>
16111611

1612-
* <a name="validate_the_tainted_integer_on_caculation"></a>
1612+
* <a name="validate_the_tainted_integer_on_calculation"></a>
16131613
The integer values
16141614
from untrusted sources MUST be avoided the integer overflow or wraparound.
16151615
(e.g., <a href="http://www.cert.org/secure-coding/research/secure-coding-standards.cfm">CERT</a>,
16161616
<a href="https://www.owasp.org/index.php/OWASP_Secure_Coding_Practices_-_Quick_Reference_Guide)">OWASP</a>
16171617
See the <a href="http://cwe.mitre.org/data/definitions/190.html">CWE</a>.
1618-
<sup>[<a href="#validate_the_tainted_integer_on_caculation">validate_the_tainted_integer_on_caculation</a>]</sup>
1618+
<sup>[<a href="#validate_the_tainted_integer_on_calculation">validate_the_tainted_integer_on_calculation</a>]</sup>
16191619

16201620
* <a name="validate_the_malloc_size"></a>
16211621
Appropriate size limits

docs/design.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ support for instantclick.
304304
One trick for improving Rails performance is to invoke streaming.
305305
[Streaming with Rails 4](https://www.sitepoint.com/streaming-with-rails-4/)
306306
and
307-
[ActionContoller:Streaming](http://api.rubyonrails.org/classes/ActionController/Streaming.html)
307+
[ActionController:Streaming](http://api.rubyonrails.org/classes/ActionController/Streaming.html)
308308
explains the basics for streaming HTML content.
309309
[Streaming large data responses with Rails](https://coderwall.com/p/kad56a/streaming-large-data-responses-with-rails)
310310
discusses how to do this with other formats (e.g., JSON).
@@ -415,7 +415,7 @@ In some cases, a criterion may require some justification
415415
or a URL in the justification to be enough to satisfy the criterion for
416416
a badge. See the [criteria](./criteria.md) or
417417
application form for the current exact rules.
418-
A synonym for 'satifying' a criterion is 'passing' a criterion.
418+
A synonym for 'satisfying' a criterion is 'passing' a criterion.
419419

420420
We have an 'autofill' system that fills in some data automatically.
421421

docs/other.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1587,7 +1587,7 @@ but we discussed possibly upgrading them.
15871587
(e.g., scripting languages where the source code is used directly
15881588
instead of being compiled), select "N/A". In some cases, this can
15891589
resolved by forcing some sort order. JavaScript developers may
1590-
consider using npm shrinkwrap and webpack OccurenceOrderPlugin.
1590+
consider using npm shrinkwrap and webpack OccurrenceOrderPlugin.
15911591
GCC and clang users may find the -frandom-seed option useful.
15921592
The build environment (including the toolset) can often be defined for
15931593
external parties by specifying the cryptographic hash of a specific

docs/self.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
"created_at": "2015-10-23T22:02:10.544Z",
137137
"updated_at": "2015-11-27T14:21:35.145Z",
138138
"crypto_weaknesses_status": "Met",
139-
"crypto_weaknesses_justification": "The only cryptography used directly by this application is bcrypt (used for storing passwords as salted iterated hashes). At the time of this writing, no serious breaks are known in bcrypt. The application also dependes on the web server's https configuration, but that is out of scope for this code.",
139+
"crypto_weaknesses_justification": "The only cryptography used directly by this application is bcrypt (used for storing passwords as salted iterated hashes). At the time of this writing, no serious breaks are known in bcrypt. The application also depends on the web server's https configuration, but that is out of scope for this code.",
140140
"crypto_alternatives_status": "Unmet",
141141
"crypto_alternatives_justification": "Nothing in the code inhibits or prevents the use of PFS; that is a property of the website's web server. The program uses bcrypt - and only bcrypt - for hashing passwords. It does allow for increasing the bcrypt 'cost' parameter, which could counter some attacks if a weakness in bcrypt is found in the future.",
142142
"test_continuous_integration_status": "Met",

0 commit comments

Comments
 (0)