- Cleaned up, renamed and reorderd functions
authoroes <oes@users.sourceforge.net>
Fri, 29 Jun 2001 13:27:38 +0000 (13:27 +0000)
committeroes <oes@users.sourceforge.net>
Fri, 29 Jun 2001 13:27:38 +0000 (13:27 +0000)
commit8eb4a58566a5aa38aa94f372a3fdeed87bcef2f2
tree967025f7145602c2871644bf0ef1f077d8233a39
parentd3f416902c6d420c39bd6fe330e09331029f9346
- 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
filters.c