Skip to content
Sections
>> Trisquel >> Paket >> etiona >> web >> php-html-safe
etiona  ]
[ Källkod: php-html-safe  ]

Paket: php-html-safe (0.10.1-5)

strip down all potentially dangerous content within HTML

This parser strips down all potentially dangerous content within HTML:

 * opening tag without its closing tag
 * closing tag without its opening tag
 * any of these tags: "base", "basefont", "head", "html", "body", "applet",
   "object", "iframe", "frame", "frameset", "script", "layer", "ilayer",
   "embed", "bgsound", "link", "meta", "style", "title", "blink", "xml", etc.
 * any of these attributes: on*, data*, dynsrc
 * javascript:/vbscript:/about: etc. protocols
 * expression/behavior etc. in styles
 * any other active content

It also tries to convert code to XHTML valid, but htmltidy is far better solution for this task.

Andra paket besläktade med php-html-safe

  • beror
  • rekommenderar
  • föreslår
  • dep: php-common
    Common files for PHP packages
  • dep: php-xml-htmlsax3 (>= 3.0.0~RC1)
    SAX parser for HTML and other badly formed XML documents

Hämta php-html-safe

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 9,2 kbyte42 kbyte [filförteckning]