This repository has been archived by the owner on Sep 5, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Addressed issue #18 where arrays may potentially allow for compromi…
…sing the sandbox by encapsulating unsandboxed callables
- Loading branch information
1 parent
7c42b12
commit 4a30e96
Showing
8 changed files
with
35 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
* @namespace PHPSandbox | ||
* | ||
* @author Elijah Horton <[email protected]> | ||
* @version 1.3.9 | ||
* @version 1.3.10 | ||
*/ | ||
class Error extends \Exception { | ||
/* START ERROR CODES */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
* @namespace PHPSandbox | ||
* | ||
* @author Elijah Horton <[email protected]> | ||
* @version 1.3.9 | ||
* @version 1.3.10 | ||
*/ | ||
class PHPSandbox implements \IteratorAggregate { | ||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
* @namespace PHPSandbox | ||
* | ||
* @author Elijah Horton <[email protected]> | ||
* @version 1.3.9 | ||
* @version 1.3.10 | ||
*/ | ||
class SandboxWhitelistVisitor extends \PHPParser_NodeVisitorAbstract { | ||
/** The PHPSandbox instance to check against | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
* @namespace PHPSandbox | ||
* | ||
* @author Elijah Horton <[email protected]> | ||
* @version 1.3.9 | ||
* @version 1.3.10 | ||
*/ | ||
class SandboxedString implements \ArrayAccess, \IteratorAggregate { | ||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
* @namespace PHPSandbox | ||
* | ||
* @author Elijah Horton <[email protected]> | ||
* @version 1.3.9 | ||
* @version 1.3.10 | ||
*/ | ||
class ValidatorVisitor extends \PHPParser_NodeVisitorAbstract { | ||
/** The PHPSandbox instance to check against | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
* @namespace PHPSandbox | ||
* | ||
* @author Elijah Horton <[email protected]> | ||
* @version 1.3.9 | ||
* @version 1.3.10 | ||
*/ | ||
class WhitelistVisitor extends \PHPParser_NodeVisitorAbstract { | ||
/** The PHPSandbox instance to check against | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters