Skip to content

Commit

Permalink
deploy: 12672ce
Browse files Browse the repository at this point in the history
  • Loading branch information
fzipi committed Mar 25, 2024
1 parent 290ff31 commit ca91267
Show file tree
Hide file tree
Showing 36 changed files with 98 additions and 98 deletions.
4 changes: 2 additions & 2 deletions 404.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions connectors/caddy/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions connectors/coraza-spoa/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions connectors/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions contributors/felipe-zipitria/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions contributors/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions contributors/juan-pablo-tosso/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/reference/benchmarks/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/reference/body-processing/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html lang=en-US><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="ie=edge"><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><link rel=preload as=font href=https://coraza.io/fonts/vendor/jost/jost-v4-latin-regular.woff2 type=font/woff2 crossorigin><link rel=preload as=font href=https://coraza.io/fonts/vendor/jost/jost-v4-latin-500.woff2 type=font/woff2 crossorigin><link rel=preload as=font href=https://coraza.io/fonts/vendor/jost/jost-v4-latin-700.woff2 type=font/woff2 crossorigin><script>(()=>{var t=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,e=localStorage.getItem("theme");t&&e===null&&(localStorage.setItem("theme","dark"),document.documentElement.setAttribute("data-dark-mode","")),t&&e==="dark"&&document.documentElement.setAttribute("data-dark-mode",""),e==="dark"&&document.documentElement.setAttribute("data-dark-mode","")})()</script><script>(()=>{Object.keys(localStorage).forEach(function(e){/^global-alert-/.test(e)&&document.documentElement.setAttribute("data-global-alert","closed")})})()</script><link rel=stylesheet href=https://coraza.io/main.08040bc4f930cbd11ade8cde0f20f30f51874e67e12c205ee34b2bc8e27b935fc1403e5dc7e89fd73be9a140225ede53f8b469ee6bb84eebbc32c3bba1982c1f.css integrity="sha512-CAQLxPkwy9Ea3ozeDyDzD1GHTmfhLCBe40sryOJ7k1/BQD5dx+if1zvpoUAiXt5T+LRp7mu4Tuu8MsO7oZgsHw==" crossorigin=anonymous><noscript><style>img.lazyload{display:none}</style></noscript><meta name=robots content="index, follow"><meta name=googlebot content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1"><meta name=bingbot content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1"><title>Body Processing - OWASP Coraza</title>
<!doctype html><html lang=en-US><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="ie=edge"><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><link rel=preload as=font href=https://coraza.io/fonts/vendor/jost/jost-v4-latin-regular.woff2 type=font/woff2 crossorigin><link rel=preload as=font href=https://coraza.io/fonts/vendor/jost/jost-v4-latin-500.woff2 type=font/woff2 crossorigin><link rel=preload as=font href=https://coraza.io/fonts/vendor/jost/jost-v4-latin-700.woff2 type=font/woff2 crossorigin><script>(()=>{var t=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,e=localStorage.getItem("theme");t&&e===null&&(localStorage.setItem("theme","dark"),document.documentElement.setAttribute("data-dark-mode","")),t&&e==="dark"&&document.documentElement.setAttribute("data-dark-mode",""),e==="dark"&&document.documentElement.setAttribute("data-dark-mode","")})()</script><script>(()=>{Object.keys(localStorage).forEach(function(e){/^global-alert-/.test(e)&&document.documentElement.setAttribute("data-global-alert","closed")})})()</script><link rel=stylesheet href=https://coraza.io/main.e9d56aaf8618abb2dc3143a1f6077bd0f5a50ea13c2743a5134a1a7cdc6ad41db01a85514ed59078656efa6356ad40048b97a84e37ed41fa4e6ddaff26b746c2.css integrity="sha512-6dVqr4YYq7LcMUOh9gd70PWlDqE8J0OlE0oafNxq1B2wGoVRTtWQeGVu+mNWrUAEi5eoTjftQfpObdr/JrdGwg==" crossorigin=anonymous><noscript><style>img.lazyload{display:none}</style></noscript><meta name=robots content="index, follow"><meta name=googlebot content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1"><meta name=bingbot content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1"><title>Body Processing - OWASP Coraza</title>
<meta name=description content="BodyBuffer # BodyBuffer is used to effectively handle large bodies. Coraza has to buffer the body in order to make reliable blocking possible. Future versions might implement a more efficient solution.
BodyBuffer.Reader is a io.Reader that reads from either a memory buffer or a file. Using files is disabled for tinygo.
Important: Copying a Reader to BodyBuffer will most likely flush the original reader. In most cases you will have to keep two copies of the reader, one for coraza, and one for your application."><link rel=canonical href=https://coraza.io/docs/reference/body-processing/><meta property="og:locale" content="en_US"><meta property="og:type" content="article"><meta property="og:title" content="Body Processing"><meta property="og:description" content="BodyBuffer # BodyBuffer is used to effectively handle large bodies. Coraza has to buffer the body in order to make reliable blocking possible. Future versions might implement a more efficient solution.
Expand All @@ -12,4 +12,4 @@
<span><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" class="doks doks-expand" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><title>Expand</title><polyline points="7 13 12 18 17 13"/><polyline points="7 6 12 11 17 6"/></svg><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" class="doks doks-collapse" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><title>Collapse</title><polyline points="17 11 12 6 7 11"/><polyline points="17 18 12 13 7 18"/></svg></span></button><div class=collapse id=onThisPage><div class="card card-body mt-3 py-1"><div class=page-links><nav id=TableOfContents><ul><li><a href=#bodybuffer>BodyBuffer</a></li><li><a href=#body-processors>Body Processors</a></li></ul></nav></div></div></div></div><div class="page-links d-none d-xl-block"><h3></h3><nav id=TableOfContents><ul><li><a href=#bodybuffer>BodyBuffer</a></li><li><a href=#body-processors>Body Processors</a></li></ul></nav></div></nav><main class="docs-content col-lg-11 col-xl-9"><nav aria-label=breadcrumb><ol class=breadcrumb><li class=breadcrumb-item><a href=https://coraza.io/>Home</a></li><li class=breadcrumb-item><a href=https://coraza.io/docs/>Docs</a></li><li class=breadcrumb-item><a href=https://coraza.io/docs/reference/>Reference</a></li><li class="breadcrumb-item active" aria-current=page>Body Processing</li></ol></nav><h1>Body Processing</h1><p class=lead></p><nav class=d-xl-none aria-label="Quaternary navigation"><div class=d-xl-none><button class="btn btn-outline-primary btn-sm doks-toc-toggle collapsed" type=button data-bs-toggle=collapse data-bs-target=#onThisPage aria-controls=doks-docs-nav aria-expanded=false aria-label="Toggle On this page navigation">
<span></span>
<span><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" class="doks doks-expand" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><title>Expand</title><polyline points="7 13 12 18 17 13"/><polyline points="7 6 12 11 17 6"/></svg><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" class="doks doks-collapse" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><title>Collapse</title><polyline points="17 11 12 6 7 11"/><polyline points="17 18 12 13 7 18"/></svg></span></button><div class=collapse id=onThisPage><div class="card card-body mt-3 py-1"><div class=page-links><nav id=TableOfContents><ul><li><a href=#bodybuffer>BodyBuffer</a></li><li><a href=#body-processors>Body Processors</a></li></ul></nav></div></div></div></div><div class="page-links d-none d-xl-block"><h3></h3><nav id=TableOfContents><ul><li><a href=#bodybuffer>BodyBuffer</a></li><li><a href=#body-processors>Body Processors</a></li></ul></nav></div></nav><h2 id=bodybuffer>BodyBuffer <a href=#bodybuffer class=anchor aria-hidden=true>#</a></h2><p>BodyBuffer is used to effectively handle large bodies. Coraza has to buffer the body in order to make reliable blocking possible. Future versions might implement a more efficient solution.</p><p><code>BodyBuffer.Reader</code> is a <code>io.Reader</code> that reads from either a memory buffer or a file. Using files is disabled for tinygo.</p><p><strong>Important:</strong> Copying a Reader to BodyBuffer will most likely flush the original reader. In most cases you will have to keep two copies of the reader, one for coraza, and one for your application. You can simply replace your reader pointer with the BodyBuffer reader pointer.</p><h2 id=body-processors>Body Processors <a href=#body-processors class=anchor aria-hidden=true>#</a></h2><p>Body processors are designed to handle requests and responses in the same context. Most processors can handle either a request or a response, but there are cases of body processors like JSON, that can handle request and response in different context. Request-Response correlation is the responsibility of the processor, and the current use-case is GraphQL.</p><table><thead><tr><th>Body Processor</th><th>Request</th><th>Response</th><th>Correlation</th><th>Tinygo support</th></tr></thead><tbody><tr><td>URLEncoded</td><td>Yes</td><td>No</td><td>No</td><td>Yes</td></tr><tr><td>XML (Partial Support)</td><td>Yes</td><td>Yes</td><td>No</td><td>No</td></tr><tr><td>Multipart</td><td>Yes</td><td>No</td><td>No</td><td>Yes</td></tr><tr><td>JSON</td><td>Yes</td><td>Yes</td><td>No</td><td>Yes</td></tr><tr><td>GraphQL</td><td>TBD</td><td>TBD</td><td>Yes</td><td>TBD</td></tr></tbody></table><div class="page-footer-meta d-flex flex-column flex-md-row justify-content-between"><div class=edit-page><a href=https://github.com/corazawaf/coraza.io/content/en/docs/reference/body-processing.md><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-edit-2"><path d="M17 3a2.828 2.828.0 114 4L7.5 20.5 2 22l1.5-5.5L17 3z"/></svg>
Edit this page on</a></div></div><div class="docs-navigation d-flex justify-content-between"><a href=https://coraza.io/docs/reference/benchmarks/><div class="card my-1"><div class="card-body py-2">&larr; Benchmarks</div></div></a><a class=ms-auto href=https://coraza.io/docs/reference/extending/><div class="card my-1"><div class="card-body py-2">Extending &rarr;</div></div></a></div></main></div></div></div><footer class="footer text-muted"><div class=container-xxl><div class=row><div class="col-lg-8 order-last order-lg-first"><ul class=list-inline><li class=list-inline-item>Powered by a lot of love ❤️ (and code) - By Juan Pablo Tosso and Coraza Contributors</li></ul></div><div class="col-lg-8 order-first order-lg-last text-lg-end"><ul class=list-inline></ul></div></div></div></footer><script src=https://coraza.io/js/bootstrap.min.5ba9294247095514d922901cd7b7c1503d426f21b9feb41763d1827ecdd81f9e3b730b69d8ede2161a9e061ff7ed244670f96aacdf7537912efa93d00994e301.js integrity="sha512-W6kpQkcJVRTZIpAc17fBUD1CbyG5/rQXY9GCfs3YH547cwtp2O3iFhqeBh/37SRGcPlqrN91N5Eu+pPQCZTjAQ==" crossorigin=anonymous defer></script><script src=https://coraza.io/js/highlight.min.571ec8077a4fa3ce569c865275342d2cd42ddc19d58c0cdae99d0abf059f749da059d2dff499663327d76b17fc4df404d3d4d36a44a0c81d3949b318a0a5e757.js integrity="sha512-Vx7IB3pPo85WnIZSdTQtLNQt3BnVjAza6Z0KvwWfdJ2gWdLf9JlmMyfXaxf8TfQE09TTakSgyB05SbMYoKXnVw==" crossorigin=anonymous defer></script><script src=https://coraza.io/main.min.ea773c9f838681ca730da53d014a98775d502489db4d63b78abbcc309f3a1e4bf54a80566a552e96292b66df10a8951c912ad8c61a9f1c859269aee0acaf4653.js integrity="sha512-6nc8n4OGgcpzDaU9AUqYd11QJInbTWO3irvMMJ86Hkv1SoBWalUulikrZt8QqJUckSrYxhqfHIWSaa7grK9GUw==" crossorigin=anonymous defer></script><script src=https://coraza.io/index.min.1565147ff83ed55330c67639714454af535c740e46683550c6803d72bceed92b24988437971360cb3d9bcdf96f9424d54dadb59a5228af135a3f79353cd0f5a4.js integrity="sha512-FWUUf/g+1VMwxnY5cURUr1NcdA5GaDVQxoA9crzu2SskmIQ3lxNgyz2bzflvlCTVTa21mlIorxNaP3k1PND1pA==" crossorigin=anonymous defer></script><div class="d-flex fixed-bottom pb-4 pb-lg-5 pe-4 pe-lg-5"><a id=toTop href=# class="btn btn-outline-primary rounded-circle ms-auto p-2"><span class=visually-hidden>Top</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-up"><polyline points="18 15 12 9 6 15"/></svg></a></div></body></html>
Edit this page on</a></div></div><div class="docs-navigation d-flex justify-content-between"><a href=https://coraza.io/docs/reference/benchmarks/><div class="card my-1"><div class="card-body py-2">&larr; Benchmarks</div></div></a><a class=ms-auto href=https://coraza.io/docs/reference/extending/><div class="card my-1"><div class="card-body py-2">Extending &rarr;</div></div></a></div></main></div></div></div><footer class="footer text-muted"><div class=container-xxl><div class=row><div class="col-lg-8 order-last order-lg-first"><ul class=list-inline><li class=list-inline-item>Powered by a lot of love ❤️ (and code) - By Juan Pablo Tosso and Coraza Contributors</li></ul></div><div class="col-lg-8 order-first order-lg-last text-lg-end"><ul class=list-inline></ul></div></div></div></footer><script src=https://coraza.io/js/bootstrap.min.8bf16dce283e37ebc680f7abf995b1b7c5b72aaefdde90736ab8417cb7f854b61212e4afefe7336965c1eb3de605d466c36635259a70b1eef33db101f83cc1d3.js integrity="sha512-i/Ftzig+N+vGgPer+ZWxt8W3Kq793pBzarhBfLf4VLYSEuSv7+czaWXB6z3mBdRmw2Y1JZpwse7zPbEB+DzB0w==" crossorigin=anonymous defer></script><script src=https://coraza.io/js/highlight.min.571ec8077a4fa3ce569c865275342d2cd42ddc19d58c0cdae99d0abf059f749da059d2dff499663327d76b17fc4df404d3d4d36a44a0c81d3949b318a0a5e757.js integrity="sha512-Vx7IB3pPo85WnIZSdTQtLNQt3BnVjAza6Z0KvwWfdJ2gWdLf9JlmMyfXaxf8TfQE09TTakSgyB05SbMYoKXnVw==" crossorigin=anonymous defer></script><script src=https://coraza.io/main.min.e9c61f2263854b8438b613172847ff6c83ae0878a3d40a7a370727e45701fff8fd0abc97811b560ee84acf0d424c09bbf8a47a9920738ed5bb58fe91c5a7234c.js integrity="sha512-6cYfImOFS4Q4thMXKEf/bIOuCHij1Ap6Nwcn5FcB//j9CryXgRtWDuhKzw1CTAm7+KR6mSBzjtW7WP6RxacjTA==" crossorigin=anonymous defer></script><script src=https://coraza.io/index.min.1565147ff83ed55330c67639714454af535c740e46683550c6803d72bceed92b24988437971360cb3d9bcdf96f9424d54dadb59a5228af135a3f79353cd0f5a4.js integrity="sha512-FWUUf/g+1VMwxnY5cURUr1NcdA5GaDVQxoA9crzu2SskmIQ3lxNgyz2bzflvlCTVTa21mlIorxNaP3k1PND1pA==" crossorigin=anonymous defer></script><div class="d-flex fixed-bottom pb-4 pb-lg-5 pe-4 pe-lg-5"><a id=toTop href=# class="btn btn-outline-primary rounded-circle ms-auto p-2"><span class=visually-hidden>Top</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-up"><polyline points="18 15 12 9 6 15"/></svg></a></div></body></html>
Loading

0 comments on commit ca91267

Please sign in to comment.