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

filters: filter context payload #55

Merged
merged 1 commit into from
Mar 3, 2016
Merged

filters: filter context payload #55

merged 1 commit into from
Mar 3, 2016

Conversation

kyrylo
Copy link
Contributor

@kyrylo kyrylo commented Mar 2, 2016

A user reported that it's not possible to filter context/user. It's a
reasonable request given that the user information has been moved to
context recently.

@kyrylo kyrylo force-pushed the context-filtering branch from f665d35 to 75a4f3b Compare March 2, 2016 17:51
@kyrylo
Copy link
Contributor Author

kyrylo commented Mar 2, 2016

This is a bit tricky. We perform URL params filtering, so with the present change it breaks (we simply replace the whole URL instead of specific params). I think stuff in the context payload should still not be filterable, that said it makes sense to filter out user.

@kyrylo kyrylo force-pushed the context-filtering branch 2 times, most recently from 7ee08db to fb8f3f3 Compare March 3, 2016 09:17
@kyrylo
Copy link
Contributor Author

kyrylo commented Mar 3, 2016

PTAL

A user reported that it's not possible to filter context/user. It's a
reasonable request given that the user information has been moved to
context recently.

Here we special-case context/user because we do want to be able to
filter it, but we don't want to filter out other payload in `context`.
@kyrylo kyrylo force-pushed the context-filtering branch from fb8f3f3 to e336ac5 Compare March 3, 2016 09:28
@zefer
Copy link
Contributor

zefer commented Mar 3, 2016

LGTM

kyrylo added a commit that referenced this pull request Mar 3, 2016
filters: filter context payload
@kyrylo kyrylo merged commit 5c10527 into master Mar 3, 2016
@kyrylo kyrylo deleted the context-filtering branch March 3, 2016 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants