Skip to content

Commit

Permalink
trim trailing whitespace, bracket comment for logic clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
aidantwoods committed Dec 11, 2016
1 parent 6c8261f commit 1b5876b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SecureHeaders.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ public function add_header(
or isset($this->headers[$name])
)
) {
# a proposal header will only be added if the intented header
# has not been staged for removal or already added
# a proposal header will only be added if the intented header: {
# has not been staged for removal} or {already added}
return;
}

Expand Down Expand Up @@ -1088,7 +1088,7 @@ private function validate_headers()
)
)
) {
$this->add_error($friendly_header.' header was sent,
$this->add_error($friendly_header.' header was sent,
but an invalid, or no reporting address was given.
This header will not enforce violations, and with no
reporting address specified, the browser can only
Expand Down

0 comments on commit 1b5876b

Please sign in to comment.