Changes between Initial Version and Version 1 of Documentation/Plugins/EncodeOutput


Ignore:
Timestamp:
03/14/18 09:09:52 (20 months ago)
Author:
gogo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Plugins/EncodeOutput

    v1 v1  
     1= Plugin: EncodeOutput  = 
     2 
     3[wiki:Plugins Back to Plugins] 
     4 
     5This 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). 
     6 
     7Responsibility for **decoding** the encoded response is yours, EncodeOutput only encodes, not decodes! 
     8 
     9== Configuration == 
     10 
     11**See the [wiki:NewbieGuide#ProvideSomeConfiguration NewbieGuide] for how to set configuration values in general, the below configuration options are available for this plugin.** 
     12 
     13{{{ 
     14xinha_config.EncodeOutput =  
     15{ 
     16  // One of 
     17  //  
     18  //   r13   - html is rot13 (alphanum only is rotated)      -- prefix :!r13!: 
     19  //   b64   - html is base64 encoded                        -- prefix :!b64!: 
     20  //   64r   - html is base64 encoded and then that is rot13 -- prefix :!64r!: 
     21  //   r64   - html is rot13 and then that is base64         -- prefix :!r64!: 
     22  // 
     23  //   false - no encoding performed (decoding still will if prefixed) 
     24   
     25  encoder:   'r13' 
     26   
     27}; 
     28}}}