Welcome! » Log In » Create A New Profile

Excel File - can HTML Purifier check this too?

Posted by scanreg 
Excel File - can HTML Purifier check this too?
February 29, 2012 02:15PM

If data is extracted from an excel file, can HTML purifier be used to scan this data too?

If anyone has any example code, would you mind posting it?

Thanks :)

Re: Excel File - can HTML Purifier check this too?
March 01, 2012 07:48PM

No, it cannot.

Re: Excel File - can HTML Purifier check this too?
April 23, 2012 09:19AM

No, it cannot.

Is this because php does not extract the raw data from a multipart upload?

PERL

I've read that maybe Perl can extract raw data from a multipart using read_multipart()

If yes (looking into this), then what if a perl script first extracted the raw data? I'm assuming that it could then be sent to HTML purifier?

Thanks

Re: Excel File - can HTML Purifier check this too?
April 23, 2012 12:03PM

If you extract something from Excel which looks like HTML, then HTML Purifier can handle it. But HTML Purifier knows nothing about Excel, it has nothing to do with language choice.

Author:
Your Email:

Subject:

HTML input is enabled. Make sure you escape all HTML and angled brackets with < and >.

Auto-paragraphing is enabled. Double newlines will be converted to paragraphs; for single newlines, use the pre tag.

Allowed tags: a, abbr, acronym, b, blockquote, caption, cite, code, dd, del, dfn, div, dl, dt, em, i, ins, kbd, li, ol, p, pre, s, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, var.

For inputting literal code such as HTML and PHP for display, use CDATA tags to auto-escape your angled brackets, and pre to preserve newlines:

<pre><![CDATA[
Place code here
]]></pre>

Power users, you can hide this notice with:

.htmlpurifier-help {display:none;}

Message: