wiki:Documentation/Plugins/EncodeOutput

Version 2 (modified by gogo, 7 months ago) (diff)

--

Plugin: EncodeOutput

Back to Plugins

This plugin makes Xinha encode the edited HTML in one of several ways immediately prior to submitting it back to your server. This is useful for avoiding "mod_security" issues where "mod_security" may detect HTML being submitted to your server and cancel the submission (typically with a 403 error).

Responsibility for decoding the encoded response when it hits your server is yours!

Configuration

See the NewbieGuide for how to set configuration values in general, the below configuration options are available for this plugin.

xinha_config.EncodeOutput = 
{
  // One of
  // 
  //   r13   - html is rot13 (alphanum only is rotated)      -- prefix :!r13!:
  //   b64   - html is base64 encoded                        -- prefix :!b64!:
  //   64r   - html is base64 encoded and then that is rot13 -- prefix :!64r!:
  //   r64   - html is rot13 and then that is base64         -- prefix :!r64!:
  //
  //   false - no encoding performed (decoding still will if prefixed)
  
  encoder:   'r13'
  
};