PATH:
home
/
lab2454c
/
vaultchip.com
/
vendor
/
ezyang
/
htmlpurifier
/
library
/
HTMLPurifier
/
ConfigSchema
/
schema
URI.Munge TYPE: string/null VERSION: 1.3.0 DEFAULT: NULL --DESCRIPTION-- <p> Munges all browsable (usually http, https and ftp) absolute URIs into another URI, usually a URI redirection service. This directive accepts a URI, formatted with a <code>%s</code> where the url-encoded original URI should be inserted (sample: <code>http://www.google.com/url?q=%s</code>). </p> <p> Uses for this directive: </p> <ul> <li> Prevent PageRank leaks, while being fairly transparent to users (you may also want to add some client side JavaScript to override the text in the statusbar). <strong>Notice</strong>: Many security experts believe that this form of protection does not deter spam-bots. </li> <li> Redirect users to a splash page telling them they are leaving your website. While this is poor usability practice, it is often mandated in corporate environments. </li> </ul> <p> Prior to HTML Purifier 3.1.1, this directive also enabled the munging of browsable external resources, which could break things if your redirection script was a splash page or used <code>meta</code> tags. To revert to previous behavior, please use %URI.MungeResources. </p> <p> You may want to also use %URI.MungeSecretKey along with this directive in order to enforce what URIs your redirector script allows. Open redirector scripts can be a security risk and negatively affect the reputation of your domain name. </p> <p> Starting with HTML Purifier 3.1.1, there is also these substitutions: </p> <table> <thead> <tr> <th>Key</th> <th>Description</th> <th>Example <code><a href=""></code></th> </tr> </thead> <tbody> <tr> <td>%r</td> <td>1 - The URI embeds a resource<br />(blank) - The URI is merely a link</td> <td></td> </tr> <tr> <td>%n</td> <td>The name of the tag this URI came from</td> <td>a</td> </tr> <tr> <td>%m</td> <td>The name of the attribute this URI came from</td> <td>href</td> </tr> <tr> <td>%p</td> <td>The name of the CSS property this URI came from, or blank if irrelevant</td> <td></td> </tr> </tbody> </table> <p> Admittedly, these letters are somewhat arbitrary; the only stipulation was that they couldn't be a through f. r is for resource (I would have preferred e, but you take what you can get), n is for name, m was picked because it came after n (and I couldn't use a), p is for property. </p> --# vim: et sw=4 sts=4
[+]
..
[-] Core.CollectErrors.txt
[edit]
[-] HTML.SafeEmbed.txt
[edit]
[-] HTML.Nofollow.txt
[edit]
[-] URI.Munge.txt
[edit]
[-] Core.AllowHostnameUnderscore.txt
[edit]
[-] CSS.AllowImportant.txt
[edit]
[-] HTML.SafeIframe.txt
[edit]
[-] Attr.ID.HTML5.txt
[edit]
[-] info.ini
[edit]
[-] Cache.SerializerPermissions.txt
[edit]
[-] CSS.AllowDuplicates.txt
[edit]
[-] CSS.Trusted.txt
[edit]
[-] CSS.ForbiddenProperties.txt
[edit]
[-] Output.FlashCompat.txt
[edit]
[-] HTML.FlashAllowFullScreen.txt
[edit]
[-] HTML.Parent.txt
[edit]
[-] URI.DefinitionID.txt
[edit]
[-] AutoFormat.Custom.txt
[edit]
[-] Core.MaintainLineNumbers.txt
[edit]
[-] Core.NormalizeNewlines.txt
[edit]
[-] HTML.SafeObject.txt
[edit]
[-] HTML.ForbiddenAttributes.txt
[edit]
[-] Attr.AllowedClasses.txt
[edit]
[-] CSS.Proprietary.txt
[edit]
[-] HTML.CustomDoctype.txt
[edit]
[-] HTML.Attr.Name.UseCDATA.txt
[edit]
[-] Filter.Custom.txt
[edit]
[-] AutoFormat.RemoveEmpty.txt
[edit]
[-] Attr.AllowedFrameTargets.txt
[edit]
[-] HTML.TidyAdd.txt
[edit]
[-] HTML.AllowedModules.txt
[edit]
[-] URI.MakeAbsolute.txt
[edit]
[-] Output.Newline.txt
[edit]
[-] HTML.Trusted.txt
[edit]
[-] Filter.ExtractStyleBlocks.TidyImpl.txt
[edit]
[-] Attr.IDBlacklistRegexp.txt
[edit]
[-] Attr.AllowedRel.txt
[edit]
[-] Core.EscapeInvalidChildren.txt
[edit]
[-] Core.Language.txt
[edit]
[-] Filter.YouTube.txt
[edit]
[-] HTML.AllowedElements.txt
[edit]
[-] CSS.AllowTricky.txt
[edit]
[-] HTML.BlockWrapper.txt
[edit]
[-] Filter.ExtractStyleBlocks.Escaping.txt
[edit]
[-] URI.DisableExternal.txt
[edit]
[-] Core.DisableExcludes.txt
[edit]
[-] URI.AllowedSchemes.txt
[edit]
[-] Attr.EnableID.txt
[edit]
[-] Test.ForceNoIconv.txt
[edit]
[-] HTML.AllowedAttributes.txt
[edit]
[-] HTML.Doctype.txt
[edit]
[-] CSS.AllowedFonts.txt
[edit]
[-] Core.HiddenElements.txt
[edit]
[-] URI.OverrideAllowedSchemes.txt
[edit]
[-] URI.Base.txt
[edit]
[-] Core.RemoveInvalidImg.txt
[edit]
[-] Attr.DefaultInvalidImage.txt
[edit]
[-] URI.SafeIframeRegexp.txt
[edit]
[-] URI.MungeSecretKey.txt
[edit]
[-] HTML.CoreModules.txt
[edit]
[-] URI.HostBlacklist.txt
[edit]
[-] Core.ColorKeywords.txt
[edit]
[-] CSS.AllowedProperties.txt
[edit]
[-] URI.DefaultScheme.txt
[edit]
[-] CSS.DefinitionRev.txt
[edit]
[-] HTML.TargetNoreferrer.txt
[edit]
[-] Attr.DefaultInvalidImageAlt.txt
[edit]
[-] HTML.Proprietary.txt
[edit]
[-] Attr.IDPrefix.txt
[edit]
[-] Filter.ExtractStyleBlocks.txt
[edit]
[-] HTML.Forms.txt
[edit]
[-] HTML.DefinitionID.txt
[edit]
[-] HTML.TargetNoopener.txt
[edit]
[-] HTML.XHTML.txt
[edit]
[-] Output.TidyFormat.txt
[edit]
[-] Core.DirectLexLineNumberSyncInterval.txt
[edit]
[-] Attr.ForbiddenClasses.txt
[edit]
[-] Core.EscapeInvalidTags.txt
[edit]
[-] Attr.ClassUseCDATA.txt
[edit]
[-] AutoFormat.Linkify.txt
[edit]
[-] HTML.MaxImgLength.txt
[edit]
[-] Filter.ExtractStyleBlocks.Scope.txt
[edit]
[-] HTML.TargetBlank.txt
[edit]
[-] Core.LexerImpl.txt
[edit]
[-] HTML.TidyLevel.txt
[edit]
[-] Core.AggressivelyFixLt.txt
[edit]
[-] HTML.DefinitionRev.txt
[edit]
[-] Attr.DefaultTextDir.txt
[edit]
[-] Attr.IDPrefixLocal.txt
[edit]
[-] AutoFormat.DisplayLinkURI.txt
[edit]
[-] AutoFormat.RemoveEmpty.Predicate.txt
[edit]
[-] HTML.AllowedComments.txt
[edit]
[-] Cache.SerializerPath.txt
[edit]
[-] Core.Encoding.txt
[edit]
[-] URI.MungeResources.txt
[edit]
[-] HTML.SafeScripting.txt
[edit]
[-] CSS.MaxImgLength.txt
[edit]
[-] URI.Host.txt
[edit]
[-] Attr.AllowedRev.txt
[edit]
[-] Output.FixInnerHTML.txt
[edit]
[-] Cache.DefinitionImpl.txt
[edit]
[-] URI.Disable.txt
[edit]
[-] Core.RemoveProcessingInstructions.txt
[edit]
[-] AutoFormat.PurifierLinkify.txt
[edit]
[-] Attr.DefaultImageAlt.txt
[edit]
[-] URI.DisableResources.txt
[edit]
[-] HTML.Allowed.txt
[edit]
[-] AutoFormat.RemoveEmpty.RemoveNbsp.Exceptions.txt
[edit]
[-] AutoFormat.AutoParagraph.txt
[edit]
[-] Core.AggressivelyRemoveScript.txt
[edit]
[-] Output.SortAttr.txt
[edit]
[-] Core.RemoveScriptContents.txt
[edit]
[-] Core.EscapeNonASCIICharacters.txt
[edit]
[-] AutoFormat.RemoveSpansWithoutAttributes.txt
[edit]
[-] Core.ConvertDocumentToFragment.txt
[edit]
[-] HTML.ForbiddenElements.txt
[edit]
[-] AutoFormat.PurifierLinkify.DocURL.txt
[edit]
[-] HTML.AllowedCommentsRegexp.txt
[edit]
[-] URI.DisableExternalResources.txt
[edit]
[-] Core.LegacyEntityDecoder.txt
[edit]
[-] HTML.Strict.txt
[edit]
[-] HTML.TidyRemove.txt
[edit]
[-] Output.CommentScriptContents.txt
[edit]
[-] Core.AllowParseManyTags.txt
[edit]
[-] Core.EnableIDNA.txt
[edit]
[-] URI.DefinitionRev.txt
[edit]
[-] Attr.IDBlacklist.txt
[edit]
[-] AutoFormat.RemoveEmpty.RemoveNbsp.txt
[edit]