mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
better resolution of post data
This commit is contained in:
parent
91e228e3f6
commit
0a3cec7c41
2 changed files with 2 additions and 2 deletions
|
|
@ -446,7 +446,7 @@ the contents sent to the brower."
|
|||
page-data)))
|
||||
(when (search "multipart/form-data;"
|
||||
(getf env :content-type))
|
||||
(let ((id (get-universal-time))
|
||||
(let ((id (random-hex-string))
|
||||
(req (lack.request:make-request env)))
|
||||
(setf (gethash id *connection-data*)
|
||||
(lack.request:request-body-parameters req))
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ never be GC'd. File upload items will be a four part list
|
|||
|
||||
(defmethod form-multipart-data ((obj clog-obj))
|
||||
(clog-connection:get-connection-data
|
||||
(parse-integer (caar (form-post-data obj)) :junk-allowed t)))
|
||||
(caar (form-post-data obj))))
|
||||
|
||||
(defgeneric delete-multipart-data (clog-obj)
|
||||
(:documentation "Delete the multipart data upload"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue