privoxy.git
22 years ago- Removed all #ifdef PCRS. The .rc file extension had eluded Andreas.
haroon [Thu, 19 Jul 2001 19:14:19 +0000 (19:14 +0000)]
-  Removed all #ifdef PCRS. The .rc file extension had eluded Andreas.

22 years ago- Implemented Guy's idea of replacing window.open( with 1;''.concat(
haroon [Thu, 19 Jul 2001 19:11:35 +0000 (19:11 +0000)]
- Implemented Guy's idea of replacing window.open( with 1;''.concat(
- Implemented Guy's idea of replacing .resizeTo( with .scrollTo(

22 years ago- Added code to take care of the situation where while processing the first
haroon [Thu, 19 Jul 2001 19:09:47 +0000 (19:09 +0000)]
- Added code to take care of the situation where while processing the first
  server response (which includes the server header), after finding the end
  of the headers we were not looking past the end of the headers for
  content modification. I enabled it for filter_popups.
  Someone else should look to see if other similar operations should be
  done to the discarded portion of the buffer.

22 years ago- Added case for LOG_LEVEL_POPUPS
haroon [Thu, 19 Jul 2001 19:03:48 +0000 (19:03 +0000)]
- Added case for LOG_LEVEL_POPUPS

22 years agoAdded define for LOG_LEVEL_POPUPS
haroon [Thu, 19 Jul 2001 19:02:53 +0000 (19:02 +0000)]
Added define for LOG_LEVEL_POPUPS

22 years agoAdapted to new #defines
oes [Wed, 18 Jul 2001 17:27:22 +0000 (17:27 +0000)]
Adapted to new #defines

22 years agoChanged interface; Cosmetics
oes [Wed, 18 Jul 2001 17:27:00 +0000 (17:27 +0000)]
Changed interface; Cosmetics

22 years agoChanged to conform to new pcrs interface
oes [Wed, 18 Jul 2001 17:26:24 +0000 (17:26 +0000)]
Changed to conform to new pcrs interface

22 years agoFixed a typo in configure.in
oes [Wed, 18 Jul 2001 17:25:42 +0000 (17:25 +0000)]
Fixed a typo in configure.in

22 years agoFixed a typo
oes [Wed, 18 Jul 2001 17:25:04 +0000 (17:25 +0000)]
Fixed a typo

22 years agoimproved nuking of window.open
haroon [Wed, 18 Jul 2001 15:02:52 +0000 (15:02 +0000)]
improved nuking of window.open

22 years agoEliminated dirty hack for getsockbyname()
oes [Wed, 18 Jul 2001 13:47:59 +0000 (13:47 +0000)]
Eliminated dirty hack for getsockbyname()

22 years ago- Added ACTION_STRING_DEANIMATE
oes [Wed, 18 Jul 2001 12:32:23 +0000 (12:32 +0000)]
- Added ACTION_STRING_DEANIMATE
- moved #define freez from jcc.h to project.h

22 years agomoved #define freez from jcc.h to project.h
oes [Wed, 18 Jul 2001 12:31:58 +0000 (12:31 +0000)]
moved #define freez from jcc.h to project.h

22 years agocosmetics
oes [Wed, 18 Jul 2001 12:31:36 +0000 (12:31 +0000)]
cosmetics

22 years ago- Made gif_deanimate_response respect
oes [Wed, 18 Jul 2001 12:29:34 +0000 (12:29 +0000)]
- Made gif_deanimate_response respect
  csp->action->string[ACTION_STRING_DEANIMATE]
- Logging cosmetics

22 years agoUpdated prototype for gif_deanimate
oes [Wed, 18 Jul 2001 12:29:05 +0000 (12:29 +0000)]
Updated prototype for gif_deanimate

22 years ago- Added feature for extracting the first frame
oes [Wed, 18 Jul 2001 12:28:49 +0000 (12:28 +0000)]
- Added feature for extracting the first frame
  to gif_deanimate
- Separated image buffer extension into buf_extend
- Extended gif deanimation to GIF87a (untested!)
- Cosmetics

22 years agoUpdated example for debug CLF
oes [Wed, 18 Jul 2001 12:28:20 +0000 (12:28 +0000)]
Updated example for debug CLF

22 years ago- Changed deanimate-gifs to string action
oes [Wed, 18 Jul 2001 12:27:33 +0000 (12:27 +0000)]
- Changed deanimate-gifs to string action
- Updated documentation for deanimate-gifs

22 years agoChanged deanimate-gifs to string action
oes [Wed, 18 Jul 2001 12:27:03 +0000 (12:27 +0000)]
Changed deanimate-gifs to string action

22 years agoFixed segv when last line in config files
oes [Tue, 17 Jul 2001 13:07:01 +0000 (13:07 +0000)]
Fixed segv when last line in config files
 lacked a terminating (\r)\n

22 years agoNew build files for VC++ which provide the option of POSIX
jongfoster [Sun, 15 Jul 2001 20:08:40 +0000 (20:08 +0000)]
New build files for VC++ which provide the option of POSIX
or Win32 threads.

22 years agoAdded support for linking with POSIX threads library
jongfoster [Sun, 15 Jul 2001 19:45:33 +0000 (19:45 +0000)]
Added support for linking with POSIX threads library

22 years agoSupports POSIX threads.
jongfoster [Sun, 15 Jul 2001 19:43:49 +0000 (19:43 +0000)]
Supports POSIX threads.
Also removed some unused #includes.

22 years agoRenaming STATIC to STATIC_PCRE.
jongfoster [Sun, 15 Jul 2001 18:00:46 +0000 (18:00 +0000)]
Renaming STATIC to STATIC_PCRE.
Replacing this file with one built by "configure" from
"config.h.in", for consistency.

22 years agoRenaming #define STATIC to STATIC_PCRE
jongfoster [Sun, 15 Jul 2001 17:54:29 +0000 (17:54 +0000)]
Renaming #define STATIC to STATIC_PCRE
Adding new #define FEATURE_PTHREAD that will be used to enable
POSIX threads support.

22 years agoRenaming #define STATIC to STATIC_PCRE
jongfoster [Sun, 15 Jul 2001 17:51:41 +0000 (17:51 +0000)]
Renaming #define STATIC to STATIC_PCRE

22 years agoRemoving some unused #includes
jongfoster [Sun, 15 Jul 2001 17:45:16 +0000 (17:45 +0000)]
Removing some unused #includes

22 years agoFixing "release" target.
jongfoster [Sun, 15 Jul 2001 16:14:00 +0000 (16:14 +0000)]
Fixing "release" target.

22 years agoFixing file copy in "Release" build.
jongfoster [Sun, 15 Jul 2001 16:13:26 +0000 (16:13 +0000)]
Fixing file copy in "Release" build.

22 years agoAdding #includes string.h and miscutil.h
jongfoster [Sun, 15 Jul 2001 13:57:50 +0000 (13:57 +0000)]
Adding #includes string.h and miscutil.h

22 years agoRemoving unused local variable.
jongfoster [Sun, 15 Jul 2001 13:56:57 +0000 (13:56 +0000)]
Removing unused local variable.

22 years agoFixed copy command to copy the file to te right place.
jongfoster [Sun, 15 Jul 2001 13:44:39 +0000 (13:44 +0000)]
Fixed copy command to copy the file to te right place.
Added quotes around file paths for copy command.

22 years agoMade both JunkBuster projects depend on vc_dftables, so it is built
jongfoster [Sun, 15 Jul 2001 13:43:07 +0000 (13:43 +0000)]
Made both JunkBuster projects depend on vc_dftables, so it is built
automatically.

22 years agoAdded deanimate.[ch], and fixed file copy by quoting filenames.
jongfoster [Sun, 15 Jul 2001 13:41:22 +0000 (13:41 +0000)]
Added deanimate.[ch], and fixed file copy by quoting filenames.

22 years ago - Included SHOW_RCS for deanimate.*
oes [Fri, 13 Jul 2001 14:11:36 +0000 (14:11 +0000)]
 - Included SHOW_RCS for deanimate.*
 - Removed all #ifdef PCRS

22 years agoRemoved all #ifdef PCRS
oes [Fri, 13 Jul 2001 14:04:59 +0000 (14:04 +0000)]
Removed all #ifdef PCRS

22 years agoElimiated yet another bug in the banner-by-size jobs. Shame on me!
oes [Fri, 13 Jul 2001 14:03:48 +0000 (14:03 +0000)]
Elimiated yet another bug in the banner-by-size jobs. Shame on me!

22 years ago - Reorganized regex header inclusion and #defines to
oes [Fri, 13 Jul 2001 14:03:19 +0000 (14:03 +0000)]
 - Reorganized regex header inclusion and #defines to
   comply to the scheme in configure.in
 - Added csp->content_type and its CT_* keys
 - Added ACTION_DEANIMATE
 - Removed all #ifdef PCRS

22 years ago - Included fix to repair broken HTTP requests that
oes [Fri, 13 Jul 2001 14:02:46 +0000 (14:02 +0000)]
 - Included fix to repair broken HTTP requests that
   don't contain a path, not even '/'.
 - Removed all #ifdef PCRS
 - content_type now always inspected and classified as
   text, gif or other.
 - formatting / comments

22 years agoRemoved vim-settings
oes [Fri, 13 Jul 2001 14:02:24 +0000 (14:02 +0000)]
Removed vim-settings

22 years ago - Removed all #ifdef PCRS
oes [Fri, 13 Jul 2001 14:01:14 +0000 (14:01 +0000)]
 - Removed all #ifdef PCRS
 - Removed vim-settings

22 years ago - Generic content modification scheme:
oes [Fri, 13 Jul 2001 14:00:40 +0000 (14:00 +0000)]
 - Generic content modification scheme:
   Each feature has its own applicability flag that is set
   from csp->action->flags.
   Replaced the "filtering" int flag , by a function pointer
   "content_filter" to the function that will do the content
   modification. If it is != NULL, the document will be buffered
   and processed through *content_filter, which must set
   csp->content_length and return a modified copy of the body
   or return NULL (on failiure).
 - Changed csp->is_text to the more generic bitmap csp->content_type
   which can currently take the valued CT_TEXT or CT_GIF
 - Reformatting etc
 - Removed all #ifdef PCRS

22 years ago - Introduced gif_deanimate_response
oes [Fri, 13 Jul 2001 14:00:18 +0000 (14:00 +0000)]
 - Introduced gif_deanimate_response
 - Renamed re_process_buffer to pcrs_filter_response
 - Removed all #ifdef PCRS

22 years ago - Introduced gif_deanimate_response which shares the
oes [Fri, 13 Jul 2001 13:59:53 +0000 (13:59 +0000)]
 - Introduced gif_deanimate_response which shares the
   generic content modification interface of pcrs_filter_response
   and acts as a wrapper to deanimate.c:gif_deanimate()
 - Renamed re_process_buffer to pcrs_filter_response
 - pcrs_filter_response now returns NULL on failiure
 - Removed all #ifdef PCRS

22 years ago - Added LOG_LEVEL_DEANIMATE
oes [Fri, 13 Jul 2001 13:59:22 +0000 (13:59 +0000)]
 - Added LOG_LEVEL_DEANIMATE
 - Changed LOG_LEVEL_CLF
 - Removed all #ifdef PCRS

22 years ago - Added case for LOG_LEVEL_DEANIMATE
oes [Fri, 13 Jul 2001 13:58:58 +0000 (13:58 +0000)]
 - Added case for LOG_LEVEL_DEANIMATE
 - Removed all #ifdef PCRS

22 years ago Completely reorganized the selection scheme for
oes [Fri, 13 Jul 2001 13:58:05 +0000 (13:58 +0000)]
   Completely reorganized the selection scheme for
   pcre, pcreposix, pcrs and gnu_regex:

   The presence of shared pcre, pcreposix or pcrs
   libraried is now autodetected. Additionally, the
   user can enforce using the built-in static variants
   by specifying --disable-dynamic-(pcre|pcrs).
   Care is taken to avoid that pcre is dyn, while pcreposix
   is static, if both are used and that pcrs is static if
   pcrs is.

   The choice between pcre, gnu or no regex for actionsfile
   URL matching is now via
   --(enable|disable)-regex-matching[=(gnu|pcre|no)] with the
   default being pcre.

22 years agoFreshly generated from changed configure.in
oes [Fri, 13 Jul 2001 13:57:22 +0000 (13:57 +0000)]
Freshly generated from changed configure.in

22 years ago Changed to reflect the new pcre, pcreposix, pcrs
oes [Fri, 13 Jul 2001 13:56:25 +0000 (13:56 +0000)]
   Changed to reflect the new pcre, pcreposix, pcrs
   gnu regex or prefix matching selection scheme, with
   the hardwired choice of pcre and pcrs built statically
   and actionsfile URL matching done by pcre.

22 years ago - Included new log level for GIF deanimation
oes [Fri, 13 Jul 2001 13:53:39 +0000 (13:53 +0000)]
 - Included new log level for GIF deanimation
 - Changed loglevel for CLF

22 years agoRemoved all #ifdef PCRS and related code
oes [Fri, 13 Jul 2001 13:53:13 +0000 (13:53 +0000)]
Removed all #ifdef PCRS and related code

22 years ago - Included Documentation and an example entry for the
oes [Fri, 13 Jul 2001 13:52:43 +0000 (13:52 +0000)]
 - Included Documentation and an example entry for the
   new +deanimate-gifs action.
 - Don't block include.ebay.com (breaks site)

22 years ago - Formatting
oes [Fri, 13 Jul 2001 13:52:12 +0000 (13:52 +0000)]
 - Formatting
 - Introduced new action ACTION_DEANIMATE

22 years agoFreshly generated from (changed) acconfig.h
oes [Fri, 13 Jul 2001 13:50:44 +0000 (13:50 +0000)]
Freshly generated from (changed) acconfig.h

22 years ago - (Fix:) Copied CODE_STATUS #define from config.h.in
oes [Fri, 13 Jul 2001 13:48:37 +0000 (13:48 +0000)]
 - (Fix:) Copied CODE_STATUS #define from config.h.in
 - split REGEX #define into REGEX_GNU and REGEX_PCRE
   and removed PCRE.
   (REGEX = REGEX_GNU || REGEX_PCRE per project.h)
 - Moved STATIC (for pcre) here from Makefile.in
 - Introduced STATIC_PCRS #define to allow for dynaimc linking with
   libpcrs
 - Removed PCRS #define, since pcrs is now needed for CGI anyway

22 years ago - Moved STATIC #define for pcre to (ac)config.h
oes [Fri, 13 Jul 2001 13:48:07 +0000 (13:48 +0000)]
 - Moved STATIC #define for pcre to (ac)config.h
 - Made -Ipcre depandant on static pcre compilation to
   avoid version conflicts
 - Included compilation and depandancies for new deanimate.c
 - Made changes to the pcre/pcreposix/pcrs build process
   as required by the new library autodetection in
   configure.in

22 years agoAdded (very!) compact version of "blocked" page
oes [Fri, 13 Jul 2001 13:47:39 +0000 (13:47 +0000)]
Added (very!) compact version of "blocked" page

22 years agoIntroduced GIF deanimation feature
oes [Fri, 13 Jul 2001 13:46:20 +0000 (13:46 +0000)]
Introduced GIF deanimation feature

22 years agoIntroduced GIF deanimation feature
oes [Fri, 13 Jul 2001 13:40:09 +0000 (13:40 +0000)]
Introduced GIF deanimation feature

22 years agocm
oes [Fri, 13 Jul 2001 13:40:09 +0000 (13:40 +0000)]
cm

22 years agoChanged the standards to use uppercase instead of underscores. I.e. variables
iwanttokeepanon [Fri, 13 Jul 2001 01:27:19 +0000 (01:27 +0000)]
Changed the standards to use uppercase instead of underscores.  I.e. variables
should be "int ms_iis5_hack = 0;" instead of "int msIis5Hack = 0;" ...
and functions should be "int load_aclfile(...)" instead of
"int loadAclFile(...)".

22 years agoreplaced permissionsfile with actionsfile
Sarantis Paskalis [Tue, 3 Jul 2001 11:00:25 +0000 (11:00 +0000)]
replaced permissionsfile with actionsfile

22 years agobumped up version number.
Sarantis Paskalis [Tue, 3 Jul 2001 09:34:44 +0000 (09:34 +0000)]
bumped up version number.

22 years agoApended " on some sites" to the HTML generating function `show_defines' (@ line
iwanttokeepanon [Mon, 2 Jul 2001 02:55:16 +0000 (02:55 +0000)]
Apended " on some sites" to the HTML generating function `show_defines' (@ line
392); since "DENY_GZIP" is not *really* necessary for all PCRS functionallity.

22 years agoAdded "#ifdef ACL_FILES" conditional compilation to line 1291 to exclude
iwanttokeepanon [Mon, 2 Jul 2001 02:28:25 +0000 (02:28 +0000)]
Added "#ifdef ACL_FILES" conditional compilation to line 1291 to exclude
the `block_acl' call.  This prevents a compilation error when the user
does not wish to use the "ACL" feature.

22 years agoA modified STANDARDS.txt file. I removed my XEmacs test lines (commited in v1.2)
iwanttokeepanon [Mon, 2 Jul 2001 01:50:04 +0000 (01:50 +0000)]
A modified STANDARDS.txt file.  I removed my XEmacs test lines (commited in v1.2)
and made the file Outline-mode compatible.  I used "@" for my header lines instead
of "*" (which interfered in some C comments).  I also removed the formfeed character
from the `outline-regexp' variable because it interfered with the "H" file header and
the "C" file header comments.

All of the "stardards points/issues" are still available for discussion, cussing,
and/or flaming <G>.

22 years agoAdded fix for config.h.win by Magnus Holmgren <lear@algonet.se>
oes [Sun, 1 Jul 2001 21:09:55 +0000 (21:09 +0000)]
Added fix for config.h.win by  Magnus Holmgren <lear@algonet.se>

22 years agoBugfix: accept_connection no longer uses the obsolete hstrerror() function
oes [Sun, 1 Jul 2001 17:04:11 +0000 (17:04 +0000)]
Bugfix: accept_connection no longer uses the obsolete hstrerror() function

22 years agoAdded comments and missing return statement in is_untrusted_url()
oes [Sun, 1 Jul 2001 17:01:04 +0000 (17:01 +0000)]
Added comments and missing return statement in is_untrusted_url()

22 years agoFixed misplaced dependancy
oes [Sun, 1 Jul 2001 16:27:44 +0000 (16:27 +0000)]
Fixed misplaced dependancy

22 years agoVersion -> 2.9.5
oes [Fri, 29 Jun 2001 21:56:40 +0000 (21:56 +0000)]
Version -> 2.9.5

22 years agoHTML cosmetics
oes [Fri, 29 Jun 2001 21:46:50 +0000 (21:46 +0000)]
HTML cosmetics

22 years agoIndentation, CRLF->LF, Tab-> Space
oes [Fri, 29 Jun 2001 21:45:41 +0000 (21:45 +0000)]
Indentation, CRLF->LF, Tab-> Space

22 years agoadapted to reflect the changes in showargs.c
oes [Fri, 29 Jun 2001 13:35:41 +0000 (13:35 +0000)]
adapted to reflect the changes in showargs.c

22 years ago- Adapted
oes [Fri, 29 Jun 2001 13:35:07 +0000 (13:35 +0000)]
- Adapted
- Improved comments
- Removed init_proxy_args
- Renamed end_proxy_args(csp) to show_rcs(void)
- Removed logentry from cancelled commit
- Destroyed support for ndef SPLIT_PROXY_ARGS (Ooops)
- Separated the #define list into show_defines()

22 years ago- Added explanation for U and T options
oes [Fri, 29 Jun 2001 13:34:00 +0000 (13:34 +0000)]
- Added explanation for U and T options
- Added hint on image replacement by CGI call
- Fixed bug in banner-by-size jobs

22 years ago- Improved comments
oes [Fri, 29 Jun 2001 13:33:36 +0000 (13:33 +0000)]
- Improved comments
- Introduced http_request.host_ip_addr_str
- Introduced http_response.head_length
- Introduced config.my_ip_addr_str, config.my_hostname,
  config.admin_address and config.proxy_info_url
- Removed config.proxy_args_header and config.proxy_args_trailer,
  renamed config.proxy_args_invocation to config.proxy_args
- Removed HTML snipplets and GIFs
- Removed logentry from cancelled commit

22 years ago- Cleaned up, commented and adapted to reflect the
oes [Fri, 29 Jun 2001 13:33:19 +0000 (13:33 +0000)]
- Cleaned up, commented and adapted to reflect the
  changes in pcrs.c
- Introduced the PCRS_* flags

22 years ago- Cleaned up, renamed and reordered functions,
oes [Fri, 29 Jun 2001 13:33:04 +0000 (13:33 +0000)]
- Cleaned up, renamed and reordered functions,
  improved comments
- Removed my_strsep
- Replaced globalflag with a general flags int
  that holds PCRS_GLOBAL, PCRS_SUCCESS, and PCRS_TRIVIAL
- Introduced trivial option that will prevent pcrs
  from honouring backreferences in the substitute,
  which is useful for large substitutes that are
  red in from somewhere and saves the pain of escaping
  the backrefs
- Introduced convenience function pcrs_free_joblist()
- Split pcrs_make_job() into pcrs_compile(), which still
  takes a complete s/// comand as argument and parses it,
  and a new function pcrs_make_job, which takes the
  three separate components. This should make for a
  much friendlier frontend.
- Removed create_pcrs_job() which was useless
- Fixed a bug in pcrs_execute
- Success flag is now handled by pcrs instead of user
- Removed logentry from cancelled commit

22 years ago- Fixed a comment
oes [Fri, 29 Jun 2001 13:32:42 +0000 (13:32 +0000)]
- Fixed a comment
- Adapted free_http_request
- Removed logentry from cancelled commit

22 years agoRemoved logentry from cancelled commit
oes [Fri, 29 Jun 2001 13:32:14 +0000 (13:32 +0000)]
Removed logentry from cancelled commit

22 years agoVarious adaptions
oes [Fri, 29 Jun 2001 13:31:51 +0000 (13:31 +0000)]
Various adaptions

22 years ago- Improved comments
oes [Fri, 29 Jun 2001 13:31:03 +0000 (13:31 +0000)]
- Improved comments
- Fixed (actionsfile) and sorted hashes
- Introduced admin_address and proxy-info-url
  as config parameters
- Renamed config->proxy_args_invocation (which didn't have
  the invocation but the options!) to config->proxy_args
- Various adaptions
- Removed logentry from cancelled commit

22 years ago- Introduced enlist_unique_header()
oes [Fri, 29 Jun 2001 13:30:37 +0000 (13:30 +0000)]
- Introduced enlist_unique_header()
- Removed logentry from cancelled commit

22 years ago- Added Convenience function enlist_unique_header(),
oes [Fri, 29 Jun 2001 13:30:22 +0000 (13:30 +0000)]
- Added Convenience function enlist_unique_header(),
  which takes the Header name and value as separate
  arguments and thus saves the pain of sprintf()ing
  and determining the Header name length to enlist_unique
- Improved comments
- Removed logentry from cancelled commit

22 years agoAdded FIXMEs (and didn't repair, hehe)
oes [Fri, 29 Jun 2001 13:29:55 +0000 (13:29 +0000)]
Added FIXMEs (and didn't repair, hehe)

22 years ago- Cleaned up, improved comments
oes [Fri, 29 Jun 2001 13:29:36 +0000 (13:29 +0000)]
- Cleaned up, improved comments
- Unified all possible interceptors (CGI,
  block, trust, fast_redirect) in one
  place, with one (CGI) answer generation
  mechansim. Much clearer now.
- Removed the GIF image generation, which
  is now done in filters.c:block_url()
- Made error conditions like domain lookup
  failiure or (various) problems while talking
  to the server use cgi.c:error_response()
  instead of generating HTML/HTTP in chat() (yuck!)
- Removed logentry from cancelled commit

22 years ago- Added remote (server) host IP to csp->http->host_ip_addr_str
oes [Fri, 29 Jun 2001 13:29:15 +0000 (13:29 +0000)]
- Added remote (server) host IP to csp->http->host_ip_addr_str
- Added detection of local socket IP and fqdn
- Removed logentry from cancelled commit

22 years agoCleaned up and updated to reflect the changesin
oes [Fri, 29 Jun 2001 13:29:01 +0000 (13:29 +0000)]
Cleaned up and updated to reflect the changesin
filters.c

22 years ago- Cleaned up, renamed and reorderd functions
oes [Fri, 29 Jun 2001 13:27:38 +0000 (13:27 +0000)]
- Cleaned up, renamed and reorderd functions
  and improved comments

- block_url:
  - Ported to CGI platform. Now delivers
    http_response or NULL
  - Unified HTML and GIF generation (moved image detection
    and GIF generation here from jcc.c:chat())
  - Fixed HTTP status to:
   -  403 (Forbidden) for the "blocked" HTML message
   -  200 (OK) for GIF answers
   -  302 (Redirect) for redirect to GIF

- trust_url:
  - Ported to CGI platform. Now delivers
    http_response or NULL
  - Separated detection of untrusted URL into
    (bool)is_untrusted_url
  - Added enforcement of untrusted requests

- Moved redirect_url() from cgi.c to here
  and ported it to the CGI platform

- Removed logentry from cancelled commit

22 years agoIntroduced #define CODE_STATUS
oes [Fri, 29 Jun 2001 13:26:27 +0000 (13:26 +0000)]
Introduced #define CODE_STATUS

22 years ago- Fixed errors in general and forward explanations
oes [Fri, 29 Jun 2001 13:23:20 +0000 (13:23 +0000)]
- Fixed errors in general and forward explanations
- Renamed permissionsfile to actionsfile
- Reintroduced and commented the lost trustfile
  and trust-info-url options
- Introduced the admin-address option
- Introduced the proxy-info-url option

22 years ago- Cleaned up
oes [Fri, 29 Jun 2001 13:22:44 +0000 (13:22 +0000)]
- Cleaned up
- Added new functions: default_exports(), make_menu(),
  error_response() etc, ranamed others and changed
  param and return types.
- Removed HTTP/HTML snipplets
- Removed logentry from cancelled commit

22 years ago- Cosmetics: renamed and reordered functions, variables,
oes [Fri, 29 Jun 2001 13:21:46 +0000 (13:21 +0000)]
- Cosmetics: renamed and reordered functions, variables,
  texts, improved comments  etc

- Removed ij_untrusted_url() The relevant
  info is now part of the "untrusted" page,
  which is generated by filters.c:trust_url()

- Generators of content now call finish_http_response()
  themselves, making jcc.c:chat() a little less
  cluttered

- Removed obsolete "Pragma: no-cache" from our headers

- http_responses now know their head length

- fill_template now uses the new interface to pcrs, so that
   - long jobs (like whole files) no longer have to be assembled
     in a fixed size buffer
   - the new T (trivial) option is used, and the replacement may
     contain Perl syntax backrefs without confusing pcrs

- Introduced default_exports() which generates a set of exports
  common to all CGIs and other content generators

- Introduced convenience function map_block_killer()

- Introduced convenience function make_menu()

- Introduced CGI-like function error_response() which generates
  the "No such domain" and "Connect failed" messages using the
  CGI platform

- cgi_show_url_info:
  - adapted to new CGI features
  - form and answers now generated from same template
  - http:// prefix in URL now OK

- cgi_show_status:
  - adapted to new CGI features
  - no longer uses csp->init_proxy_args

- cgi_default:
  - moved menu generation to make_menu()

- add_stats now writes single export map entries instead
  of a fixed string

- Moved redirect_url() to filters.c

- Fixed mem leak in free_http_response(), map_block_killer(),

- Removed logentry from cancelled commit

22 years agoRemoved logentry from cancelled commit
oes [Fri, 29 Jun 2001 13:19:52 +0000 (13:19 +0000)]
Removed logentry from cancelled commit

22 years ago- added depandancy of filters.o on cgi.h
oes [Fri, 29 Jun 2001 13:18:36 +0000 (13:18 +0000)]
- added depandancy of filters.o on cgi.h

22 years ago- renamed to actionsfile
oes [Fri, 29 Jun 2001 13:17:24 +0000 (13:17 +0000)]
- renamed to actionsfile
- Updated image blocker to new cgi location
- Added explanation for the patterns

22 years agorenamed to actionsfile
oes [Fri, 29 Jun 2001 13:15:55 +0000 (13:15 +0000)]
renamed to actionsfile