Post Reply 
Default filtering by Content-Type
Mar. 18, 2009, 02:15 PM
Post: #1
Default filtering by Content-Type
Proxomitron's help Wrote:$FILTER(True or False boolean value)
Restrictions: Match or replace
Filter Types: IN or OUT header filters only

The $FILTER command can be used to force a particular request to be filtered or not filtered regardless of it's type. Normally only specific types are filtered (like text/html, text/css, image/gif, etc). $FILTER can be used in the match or replace of any header filter and takes a "true" or "false" value. If true, the request will be run through the web filters regardless of it's type. Beware this only makes sense for content that's text based.

So it seems our proxo is filtering by default image/gif. Do someone have documented all the document-types wich have filtering enabled by default starting from a blank config?
Add Thank You Quote this message in a reply
Mar. 18, 2009, 06:52 PM
Post: #2
RE: Default filtering by Content-Type
Standards:
text/html
multipart/x-mixed-replace
text/vbscript
application/x-javascript
text/javascript
text/css

Specials:
text/filterable -> Proxomitron proprietary content-type
image/gif -> only if "Freeze GIF animation" is checked in the main window
Add Thank You Quote this message in a reply
Mar. 18, 2009, 08:45 PM (This post was last modified: Mar. 20, 2009 04:34 PM by lnminente.)
Post: #3
RE: Default filtering by Content-Type
Superb! Lot of thanks Sidki [Image: happy0034.gif]
I wanted to know it to create a variable whose value is one when the content type is one of the indicated above Smile!
Code:
$TST(ContentType=(text/(html|vbscript|javascript|css|filterable)|multipart/x-mixed-replace|application/x-javascript)*) $SET(defaultFiltering=1)
Add Thank You Quote this message in a reply
Mar. 20, 2009, 04:27 PM
Post: #4
RE: Default filtering by Content-Type
N/P. Thanks for the link to the thumbs-up smiley. I was missing that one.
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: