HTML :: Sanitizer.

HTML :: Sanitizer´Â HTML ¼Òµ¶Á¦ÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

HTML :: Sanitizer. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • David Nesting
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~kwittmer/THD7-1.3/THD7.pm

HTML :: Sanitizer. ű×


HTML :: Sanitizer. ¼³¸í

HTML :: Sanitizer´Â HTML ¼Òµ¶Á¦ÀÔ´Ï´Ù. HTML :: Sanitizer´Â HTML SanitizerÀÔ´Ï´Ù .Synopsis My $ safe = new html :: sanitizer; $ safe-> permit_only (qw / strong em / a => {href => qr / ^ (? : http | ftp) : /, title => 1,}, img => {src => qr / ^ ? : http | ftp) : /, alt => 1,}, b => html :: ¿ä¼Ò -> new ( 'strong)); $ sanitized = $ safe-> filter_html_fragment ($ evil_html); # ¶Ç´Â ³» $ tree = html :: treebuilder-> new-> parse_file ($ filename); $ safe-> sanitize_tree ($ Æ®¸®); AbstractThis ¸ðµâÀº HTML ¿ë ÇÊÅÍ ¿ªÇÒÀ»ÇÕ´Ï´Ù. À¯È¿¼º °Ë»ç±â¿Í °°Àº °ø±¸¸¦ ÀÛ¼ºÇÏ´Â °ÍÀÌ °¡´ÉÇÒ ¼öµµ ÀÖÁö¸¸ À¯È¿¼º °Ë»ç±â°¡ ¾Æ´Õ´Ï´Ù. ¿øÇÏÁö ¾Ê´Â HTML ¿ä¼Ò¿Í ¼Ó¼ºÀ» Á¦°ÅÇÏ°í ½Å·ÚÇÒ ¼ö ÀÖ¾î¾ßÇÏ´Â À§ÇèÇÑ HTML Äڵ带 »ç¿ëÇÏ¿© »ç¿ëÀÚ¸¦ ¸Ã±âÀ§ÇÑ °ÍÀÔ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.


HTML :: Sanitizer. °ü·Ã ¼ÒÇÁÆ®¿þ¾î

PDL :: º´·Ä :: MPI.

PDL :: º´·Ä :: MPI Perl ¸ðµâÀº PDL ¿ÀºêÁ§Æ®¸¦ MPI ¶óÀ̺귯¸®¸¦ »ç¿ëÇÏ¿© º´·Ä ½Ã½ºÅÛ¿¡¼­ À̵¿ÇÒ ¼ö ÀÖµµ·Ï ·çƾÀ» Æ÷ÇÔÇÕ´Ï´Ù. ...

177

´Ù¿î·Îµå