Browse code
allow lowercase hex digits when decoding quoted printable
dancy authored on 19/06/2007 22:01:14
Showing 1 changed files
Showing 1 changed files
... | ... |
@@ -14,7 +14,7 @@ |
14 | 14 |
;; merchantability or fitness for a particular purpose. See the GNU |
15 | 15 |
;; Lesser General Public License for more details. |
16 | 16 |
;; |
17 |
-;; $Id: mime-transfer-encoding.cl,v 1.12 2007/06/04 23:45:17 dancy Exp $ |
|
17 |
+;; $Id: mime-transfer-encoding.cl,v 1.13 2007/06/19 22:01:14 dancy Exp $ |
|
18 | 18 |
|
19 | 19 |
(defpackage :net.post-office |
20 | 20 |
(:use #:lisp #:excl) |
... | ... |
@@ -125,6 +125,8 @@ |
125 | 125 |
then (- n (char-code #\0)) |
126 | 126 |
elseif (<= (char-code #\A) n (char-code #\F)) |
127 | 127 |
then (- n (- (char-code #\A) 10)) |
128 |
+ elseif (<= (char-code #\a) n (char-code #\f)) |
|
129 |
+ then (- n (- (char-code #\a) 10)) |
|
128 | 130 |
else -1))) |
129 | 131 |
(setf (aref arr 256) -2) |
130 | 132 |
arr))) |