Browse files

Applied Skeeto's fix for split-string not grabbing the carriage retur…

…n character correctly.
  • Loading branch information...
jrhbailey committed May 3, 2012
1 parent 2709d76 commit 0ec6326e452b8343fedb9441fce33d34604fcbb0
Showing with 1 addition and 1 deletion.
  1. +1 −1 httpd.el
@@ -180,7 +180,7 @@
(defun httpd-parse (string)
"Parse client http header into alist."
- (let* ((lines (split-string string "\n\r?"))
+ (let* ((lines (split-string string "[\n\r]+"))
(req (list (split-string (car lines)))))
(dolist (line (cdr lines))
(push (list (car (split-string line ": "))

0 comments on commit 0ec6326

Please sign in to comment.