Ignore:
Timestamp:
12/09/08 18:16:48 (3 years ago)
Author:
CrawfordCurrie
Message:

Item253: remove TWikiDrawPlugin hack; analyse, rationalise and document usage of redirectto; Item5926: added encodings that were proposed to make chinese work (they don't break anything AFAICT). Deprecate Foswiki::Func::getRegularExpression (the regex array is published)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/data/System/CommandAndCGIScripts.txt

    r1163 r1221  
    322322| =createlink= | if defined, will create a link to file at end of topic | | 
    323323| =changeproperties= | if defined, this is a property change operation *only* - no file will be uploaded. | null | 
    324  
    325 You can use a tool like =curl= to upload files from the command line using this script. 
     324| =redirectto= | URL to redirect to after upload. ={AllowRedirectUrl}= \ 
     325     must be enabled in =configure=. The parameter value can be a \ 
     326     =TopicName=, a =Web.TopicName=, or a URL. Redirect to a URL only works \ 
     327     if it is enabled in =configure=, and is ignored if =noredirect= is \ 
     328     specified.%BR% __Note:__ Redirect to a URL only works if it is enabled \ 
     329     in =configure= (Miscellaneous ={AllowRedirectUrl}=). | 
     330| =noredirect= | Normally it will redirect to 'view' when the upload is \ 
     331     complete, but also designed to be useable for REST-style calling using \ 
     332     the 'noredirect' parameter. If this parameter is set it will return an \ 
     333     appropriate HTTP status code and print a message to STDOUT, starting \ 
     334     with 'OK' on success and 'ERROR' on failure. | 
     335 
     336__Tips__ 
     337   * You can use a tool like =curl= to upload files from the command line using this script. 
     338   * You can call upload easily from !XmlHttpRequest in Javascript. 
    326339 
    327340---+++ =view= 
Note: See TracChangeset for help on using the changeset viewer.