-
Notifications
You must be signed in to change notification settings - Fork 24
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
Serializing configuration to client should do the proper encoding #11
Comments
Here is the implementation used in Mojito today: And here is where we clean up |
Can you guys point to some documentation that explains the attack vector? An authoritative blog post would do — I want to have something to link to in the code and |
There are also other issues related with the encoding. Like this one: |
The encoding was originally put in place in response to bugzilla ticket 5590319 (marked as S1). Comment 10 of that bug has a valid (in my mind) question which no one seemed to answer (in the bug log): |
Encoding was added in commit YahooArchive/mojito@83a68da453. |
Yeah, the reality was that cofnig was coming from a merge between the locally sourced from the machine + any custom config produced by controllers (which could include request data). That's not longer the case for configs, but it is still a valid point for any data pushed thru the data channels in mojito. Which means that this encoding is still a very valid concern. I will probably recommend to add encoding by default in |
I won't differentiate between the |
@caridy I wonder if the solution to fixing escaped unicode chars in URLs (YahooArchive/mojito#1257) is to use HTML entities like YUI's |
Alright, once we start using |
See Trello card 745 for more info
The text was updated successfully, but these errors were encountered: