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

[Interpreter] Change ajax_stream to use new-line delimited JSON #52797

Merged
merged 1 commit into from
Dec 12, 2019

Conversation

chrisdavies
Copy link
Contributor

The interpreter was using a payload-length packing scheme for streaming responses. This was being returned as text/plain which was causing some security flag to go off. @kobelb knows the details of that. But he also rightly pointed out that this would be simpler and more standards-compliant if we just used new-line delimited JSON.

@chrisdavies chrisdavies added Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.6.0 labels Dec 11, 2019
@chrisdavies chrisdavies requested a review from kobelb December 11, 2019 19:02
@chrisdavies chrisdavies requested a review from a team as a code owner December 11, 2019 19:02
@streamich streamich self-requested a review December 11, 2019 19:11
@streamich
Copy link
Contributor

I'll take a look tomorrow.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@chrisdavies chrisdavies merged commit ba2e258 into elastic:master Dec 12, 2019
@chrisdavies chrisdavies deleted the fix/fns-content-type branch December 12, 2019 14:18
jloleysens added a commit to jloleysens/kibana that referenced this pull request Dec 30, 2019
…aved-objects

* upstream/master: (134 commits)
  [Dashboard] Add visualization from dasbhoard empty screen (elastic#52670)
  Print out agent debugging links during CI (elastic#52812)
  Add babel-plugin-styled-components to webpack config (elastic#52862)
  [Console] Fix load from remote (elastic#52814)
  Ensure APM agent config file path respects CWD (elastic#52880)
  [Watcher] Removed overwritten property (elastic#49998)
  [Data Plugin]: Remove `export *` for common code from public/server index files (elastic#52821)
  Hide stderr git output during APM agent configuration (elastic#52878)
  Polish migration.md (elastic#52764)
  Change ajax_stream to use new-line delimited JSON (elastic#52797)
  Stabilize dashboard save modal functional test (elastic#52761)
  [Discover] Place tooltip at bottom of filter button (elastic#52720)
  Disable/enable filter with click+shift on a filter badge (elastic#52751)
  [APM] Make client-side routes static (elastic#52574)
  [Maps] Get basic structure of NP client shim in place (elastic#52551)
  update chromedriver to 79 (elastic#52784)
  [DOCS] Adds example of assigning roles in Reporting (elastic#52757)
  Add instructions for setting up remote clusters needed for CCS and CCR (elastic#52796)
  [docs] max-old-space-size (elastic#52310)
  [Monitoring] Fix 7.5 cloud test issues (elastic#51781)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) release_note:skip Skip the PR/issue when compiling release notes v7.6.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants