Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardening Fixes #1043

Merged
merged 26 commits into from Aug 9, 2013
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
0814cdc
Ignore URLs in phalcon_require()
sjinks Aug 8, 2013
6aed4b1
PHALCON_VERIFY_INTERFACE() and PHALCON_VERIFY_CLASS()
sjinks Aug 8, 2013
085c0a4
Interface validation in http/cookie.c
sjinks Aug 8, 2013
1d326d3
Interface validation in http/request.c
sjinks Aug 8, 2013
cb72716
Interface validation in flash/session.c
sjinks Aug 8, 2013
216ad87
Interface validation in session/bag.c
sjinks Aug 8, 2013
019e563
Interface validation in validation.c
sjinks Aug 8, 2013
63d3703
Interface validation in tag.c
sjinks Aug 8, 2013
eb616e5
Interface validation in http/response.c
sjinks Aug 8, 2013
4fa051c
Interface validation in http/response/cookies.c
sjinks Aug 8, 2013
bd5edb1
Interface validation in security.c
sjinks Aug 8, 2013
17d5f39
Interface validation in forms/form.c
sjinks Aug 8, 2013
57b3722
Interface validation in dispatcher.c
sjinks Aug 8, 2013
03fba88
Interface validation in mvc/collection/manager.c
sjinks Aug 8, 2013
2c95cdb
Interface validation in mvc/application.c
sjinks Aug 8, 2013
4756ffa
Interface validation in mvc/model/ and mvc/model.c
sjinks Aug 8, 2013
f93b512
Interface validation in mvc/view/ and mvc/view.c
sjinks Aug 8, 2013
236b924
Interface/class validation in cli/
sjinks Aug 8, 2013
f8c6eb7
Interface validation in mvc/url.c
sjinks Aug 8, 2013
705db04
Interface validation in mvc/micro.c
sjinks Aug 8, 2013
5bdd504
Interface validation in mvc/router.c and mvc/router/
sjinks Aug 9, 2013
a1d5a7a
Interface validation in mvc/dispatcher.c
sjinks Aug 9, 2013
782f746
Interface validation in mvc/collection.c
sjinks Aug 9, 2013
c80c9f3
Phalcon\Cli\Dispatcher implements Phalcon\DispatcherInterface
sjinks Aug 9, 2013
bc9586c
Thorough data validation in __wakeup()
sjinks Aug 9, 2013
3f09a62
Temporary fix for compilation issue (broken in 2581070ec75dce6f73ae38…
sjinks Aug 9, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Interface validation in dispatcher.c
  • Loading branch information
sjinks committed Aug 9, 2013
commit 57b37227ed8002e0ba6423439611599bffe5bc01
1 change: 1 addition & 0 deletions ext/dispatcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ PHP_METHOD(Phalcon_Dispatcher, getParam){

PHALCON_INIT_VAR(filter);
phalcon_call_method_p1(filter, *dependency_injector, "getshared", service);
PHALCON_VERIFY_INTERFACE(filter, phalcon_filterinterface_ce);
phalcon_call_method_p2(return_value, filter, "sanitize", *param_value, filters);
RETURN_MM();
} else {
Expand Down