Skip to content

Commit

Permalink
[SecurityBundle] added a missing entry in the CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Apr 20, 2013
1 parent 1777d98 commit 51a3561
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions src/Symfony/Bundle/SecurityBundle/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
CHANGELOG
=========

2.3.0
-----

* allowed for multiple IP address in security access_control rules

2.2.0
-----

* Added PBKDF2 Password encoder
* Added BCrypt password encoder
* Added PBKDF2 Password encoder
* Added BCrypt password encoder

2.1.0
-----
Expand Down
4 changes: 2 additions & 2 deletions src/Symfony/Component/HttpFoundation/RequestMatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,13 @@ public function matches(Request $request)
return false;
}

foreach($this->ips as $ip) {
foreach ($this->ips as $ip) {
if (IpUtils::checkIp($request->getClientIp(), $ip)) {
return true;
}
}

// Note to future implementors: add additional checks above the
// Note to future implementors: add additional checks above the
// foreach above or else your check might not be run!

return count($this->ips) === 0;
Expand Down

0 comments on commit 51a3561

Please sign in to comment.