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

unsafe for use in front and back ends during same session #31

Open
redengin opened this issue Mar 22, 2015 · 3 comments
Open

unsafe for use in front and back ends during same session #31

redengin opened this issue Mar 22, 2015 · 3 comments

Comments

@redengin
Copy link

The users are reporting serious infections.

@fetalerror
Copy link

I haven't seen this use case except in production. Its usually the user-agent trying to enhance the content. In real user mode I don't think you'll see this issue.

@redengin
Copy link
Author

Thanks for the advice in exploring the user-agent. I think I've found a workaround for most user-agents. I've added a sanitize method after the pullOut from the back-end. The user-agent is happy, since the end result is one continuous set of content, as the sanitize step is nearly undetectable.

Currently my sanitize step is hardcoded for production, but if there were some way to detect that DICSS had been used in the back-end it'd be simple to add a conditional to the body.ready() prior to putIn. This would make this use-case safer for non-production environments.

@ghost
Copy link

ghost commented Mar 23, 2015

This shouldn't be a problem if you use separate wrappers for your front-end and back-end.

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

No branches or pull requests

2 participants