Post Reply 
<start> not work on js files
Oct. 08, 2009, 03:27 PM
Post: #1
<start> not work on js files
Code:
[Patterns]
Name = "<start> test"
Active = TRUE
Limit = 256
Match = "<start>"
Replace = "abc"

The filter doesn't work on js files, for example http://prxbx.com/wp-content/plugins/wp-s...psf-js.php

The only reference I could find about this issue: http://prxbx.com/oldforums/index.php?top...810#msg810

Quote:# note: <start> did not work with js files when I tried it
#
# also: some files not being touched ~~
# May need to add |$Type(js) to the end of the URL matchline

Is this a bug of proxomitron?
Add Thank You Quote this message in a reply
Oct. 08, 2009, 04:23 PM (This post was last modified: Oct. 08, 2009 04:24 PM by JJoe.)
Post: #2
RE: <start> not work on js files
(Oct. 08, 2009 03:27 PM)whenever Wrote:  Is this a bug of proxomitron?

SRL Wrote:Hi,

Here's a full list of filtered MIME types...

"text/html",
"text/css",
"text/javascript",
"application/x-javascript",
"text/vbscript",
"multipart/x-mixed-replace",
"text/filterable"

The last one "text/filterable" is just a hack I added. You can use it to filter
something that wouldn't normally be filtered. Also filters that insert stuff to
the start or end of a web page will only do so for "text/html"
- otherwise it
tends to break javascripts and stylesheets.

-Scott-

Ref: http://tech.groups.yahoo.com/group/prox-...essage/232

HTH
Add Thank You Quote this message in a reply
Oct. 09, 2009, 01:37 AM
Post: #3
RE: <start> not work on js files
Thanks JJoe!

The filter does work after changing the content type to text/html, so this is a designed behavior of proxomitron while not a bug. I am really happy to know that. Smile!
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: