Old Proxomitron Forums
May 25, 2013, 09:38:42 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: No activity here! This forum is read-only. Go to
http://prxbx.com/forums/index.php
.
Home
Help
Search
Login
Register
Old Proxomitron Forums
>
Proxomitron Filters - Discussions welcome
>
Other
(Moderator:
Arne
) >
HTTP Header: Content-Type 3 in 1
Pages:
1
[
2
]
« previous
next »
Print
Author
Topic: HTTP Header: Content-Type 3 in 1 (Read 1930 times)
Jor
Sr. Member
Posts: 421
HTTP Header: Content-Type 3 in 1
«
Reply #15 on:
June 07, 2002, 05:33:22 PM »
Added some line-breaks
Logged
altosax
Sr. Member
Posts: 328
HTTP Header: Content-Type 3 in 1
«
Reply #16 on:
June 08, 2002, 06:35:58 PM »
hi sidki, you wrote:
--------------
I didn't check, whether it's possible in the mime fix list,
but text/plain$FILTER(true) would IMO be the best solution.
Then you can control in every filter, if it should be triggered by $TYPE(oth) or not.
--------------
i don't know at this moment if nested proxomitron commands could work, but do you think this could do the trick in mime fix list?
txt $SET(0=text/plain$FILTER(true))
i haven't tested it because this is not my pc and i'm not using proxo now, please could test this yourself and let me know?
thanks,
altosax.
Logged
sidki3003
Sr. Member
Posts: 476
HTTP Header: Content-Type 3 in 1
«
Reply #17 on:
June 08, 2002, 07:03:55 PM »
That's what i had in mind as well.
I'll check that, but it will take some time
because , to be sure, i have to disfigure the mime.ini of the webserver.
regards, sidki
Logged
sidki3003
Sr. Member
Posts: 476
HTTP Header: Content-Type 3 in 1
«
Reply #18 on:
June 08, 2002, 08:35:18 PM »
Hi altosax,
Here is what i found:
txt $SET(0=text/plain$FILTER(true)) won't do it,
since it fetches only the first, but not the $FILTER part.
However, something else does work:
$SET(0=text/plain; dummyvar) or
$SET(0=text/html; dummyvar)
The mime type is still correctly identified,
and you can test for the extra string later with:
$IHDR(Content-Type:*; dummyvar)
I found this trick once at Y!G.
It's probably more difficult than $FILTER,
and i didn't go deeper into it, but better than nothing.
edit: and the text/plain$FILTER(true) idea was from a filter in JD's config.
regards, sidki
Edited by - sidki3003 on 08 Jun 2002 22:34:53
Logged
altosax
Sr. Member
Posts: 328
HTTP Header: Content-Type 3 in 1
«
Reply #19 on:
June 09, 2002, 11:16:58 AM »
hi sidki,
thanks for your time.
i'll leave
txt $SET(0=text/html)
in my mime fix list, because i prefer to filter incoming txt files.
ps. the idea of text/plain$FILTER(true) was in zxlist long time before jd filter set became public (i also had it in my filter set but i've removed it when i've added that line in mime fix list). i write this just to give credit to paul, but i know jd filter set and can say it is really a good one.
regards,
altosax.
Logged
sidki3003
Sr. Member
Posts: 476
HTTP Header: Content-Type 3 in 1
«
Reply #20 on:
July 25, 2002, 07:12:30 PM »
Updated to take care of URLs like
http://www.somesite.com/something.htm?something.jpg
First message of the thread was changed accordingly.
sidki
Logged
Pages:
1
[
2
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Proxomitron Program - discussions welcome
-----------------------------
=> Proxomitron Updates
=> Questions and Answers
=> SSL
-----------------------------
Proxomitron Filters - Discussions welcome
-----------------------------
=> Block List Files
=> Configuration Files
=> Cosmetic
=> Feature-Block
=> Forms
=> Privacy
=> Security
=> Site Specific
=> Spam Blockers
=> Other
-----------------------------
Other
-----------------------------
=> Security - General
=> Microsoft Help
=> Community Discussions (Non-Forum Related)
Loading...