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

Turned RequestCleaner into an event subscriber #887

Merged
merged 1 commit into from Dec 8, 2017

Conversation

derrabus
Copy link
Contributor

@derrabus derrabus commented Dec 7, 2017

The RequestCleaner class is now an event subscriber too.

Related to #618.

localheinz
localheinz previously approved these changes Dec 7, 2017
Copy link
Contributor

@localheinz localheinz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@localheinz
Copy link
Contributor

@derrabus

Looking good, can you resolve the conflicts, please?

@derrabus
Copy link
Contributor Author

derrabus commented Dec 7, 2017

Done.

@@ -333,5 +332,8 @@ public function subscribe(Container $app, EventDispatcherInterface $dispatcher)
$app[CsrfValidator::class],
$app['url_generator']
));
$dispatcher->addSubscriber(new RequestCleanerListener(
$app['purifier']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha, sorry - can we sort out the wrapping issue here as well, please?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, done.

@derrabus derrabus mentioned this pull request Dec 7, 2017
9 tasks
Copy link
Contributor

@localheinz localheinz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@localheinz localheinz merged commit 468acff into opencfp:master Dec 8, 2017
@localheinz
Copy link
Contributor

Thank you, @derrabus!

@derrabus derrabus deleted the request-cleaner-listener branch December 8, 2017 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants