Commit Graph

4 Commits

Author SHA1 Message Date
a803c62958 Improved error response generation. We now keep track of the last
request read on a connection, which allows us to generate the correct
type of response in case of an error which is handled through
`handle-server-error'.

Also added code to correctly escape text that is inserted into error
messages.  This is also a first step towards preventing cross-scripting
attacks through CLASH, although most of the code still has to be audited
for unfiltered passing through of user-supplied text.
2001-02-07 14:06:14 +00:00
5aa138df6d Added access authorization framework, added port to ACL 5. ACL 5
seems to need eval-when wrapped around certain defconstant forms when
used in the same file (maybe because of compiler-macros).
2000-10-30 23:05:23 +00:00
214066236a Complete rewrite of nearly all list parsing routines. This handles
quoted-strings in both key and values of key value pairs and in simple
lists correctly.  Also factored out all magic constants, added some
stuff to make this halfway efficient (profiling to be done).  This
rewrite makes partition superfluous, maybe remove this from
src/utility.cl.

Added parsing of Base64 and authorization credentials.
2000-10-09 22:46:24 +00:00
22b2bf1abd Changes that bring CLASH up to extended HTTP/1.0 support:
Moved some of the common parsing and rendering subroutines to a new
file.  Many other functions should probably be moved over here, so
watch this space as clean up progresses further.
2000-07-22 00:18:59 +00:00