Jail() static private method

static private Jail ( string untrusted, string clientSideFilterName, string noScriptDownlevelIEWidth, string noScriptDownlevelIEHeight, bool supportNoScriptTables, int maxComplexity, Regex trustedImageUrlRegex, Regex spamFreeLinkUrlRegex ) : string
untrusted string
clientSideFilterName string
noScriptDownlevelIEWidth string
noScriptDownlevelIEHeight string
supportNoScriptTables bool
maxComplexity int
trustedImageUrlRegex System.Text.RegularExpressions.Regex
spamFreeLinkUrlRegex System.Text.RegularExpressions.Regex
return string
Example #1
0
 public string FilterUntrusted(string untrusted)
 {
     return(ScriptJail.Jail(untrusted, ClientSideFilterName, NoScriptDownlevelIEWidth, NoScriptDownlevelIEHeight,
                            SupportNoScriptTables, MaxComplexity, TrustedImageUrlRegex, SpamFreeLinkUrlRegex));
 }