RAWINPUTONLY (JANUS DEFINE parameter): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Automatically generated page update) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<span class="pageSubtitle"></span> | |||
<span class="pageSubtitle" | |||
<var>RAWINPUTONLY</var> is a parameter on [[JANUS DEFINE]], which defines and sets characteristics of a Janus port | <var>RAWINPUTONLY</var> is a parameter on <var>[[JANUS DEFINE]]</var>, which defines and sets characteristics of a Janus port. | ||
<var>RAWINPUTONLY</var> indicates that, regardless of the POST data content-type set by the client, <var class="product">[[Janus Web Server]]</var> should do both of the following: | |||
<var>RAWINPUTONLY</var> indicates that, regardless of the POST data content-type set by the client, | |||
<ul> | <ul> | ||
Line 17: | Line 14: | ||
<li><var>RAWINPUTONLY</var> can be an <var>[[JANUS WEB ON|ON]]</var> rule parameter, so it can be set for specific URLs. | <li><var>RAWINPUTONLY</var> can be an <var>[[JANUS WEB ON|ON]]</var> rule parameter, so it can be set for specific URLs. | ||
<li><var>RAWINPUT</var> does not prevent | <li><var>RAWINPUT</var> does not prevent <var class="product">Janus Web Server</var> from trying to parse the form parameters, if the <code>content-type</code> for the POST is set to <code>application/x-www-form-urlencoded</code> or <code>multipart/form-data</code>. <var>RAWINPUTONLY</var> prevents this parsing, so it protects <var class="product">Janus Web Server</var> applications from errors in this parsing. These errors include invalid-form-data errors and request-buffer-full errors. | ||
</ul> | </ul> | ||
This parameter is only available in Version 6.8 and later of | This parameter is only available in Version 6.8 and later of <var class="product">Sirius Mods</var>. | ||
Valid only for WEBSERV ports. | Valid only for <var>[[JANUS DEFINE#type|WEBSERV]]</var> ports. | ||
== | ==See also== | ||
<ul> | |||
<li>[[List of Janus commands]] | |||
<li>[[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]] | |||
</ul> | |||
[[Category:JANUS DEFINE parameters|RAWINPUTONLY]] | [[Category:JANUS DEFINE parameters|RAWINPUTONLY]] |
Latest revision as of 22:23, 16 April 2013
RAWINPUTONLY is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port.
RAWINPUTONLY indicates that, regardless of the POST data content-type set by the client, Janus Web Server should do both of the following:
- Save the raw input stream of an HTTP POST.
- Refrain from parsing the input content into form fields.
RAWINPUTONLY is very similar to the RAWINPUT port definition parameter, except that:
- RAWINPUTONLY can be an ON rule parameter, so it can be set for specific URLs.
- RAWINPUT does not prevent Janus Web Server from trying to parse the form parameters, if the
content-type
for the POST is set toapplication/x-www-form-urlencoded
ormultipart/form-data
. RAWINPUTONLY prevents this parsing, so it protects Janus Web Server applications from errors in this parsing. These errors include invalid-form-data errors and request-buffer-full errors.
This parameter is only available in Version 6.8 and later of Sirius Mods.
Valid only for WEBSERV ports.