Browse code
2006-10-18 Ahmon Dancy <dancy@dancy>
layer authored on 18/10/2006 18:41:57
Showing 2 changed files
Showing 2 changed files
... | ... |
@@ -1,3 +1,10 @@ |
1 |
+2006-10-18 Ahmon Dancy <dancy@dancy> |
|
2 |
+ |
|
3 |
+ * mime-api.cl: bug16479: Improve default content-transfer-encoding |
|
4 |
+ determination. Also, removed some (load-time-value)'s that were |
|
5 |
+ wrapped around some regular expression strings (not sure why). |
|
6 |
+ It was preventing the regular expressions from being compiled. |
|
7 |
+ |
|
1 | 8 |
2006-10-16 Kevin Layer <layer@gemini.franz.com> |
2 | 9 |
|
3 | 10 |
* smtp.cl: bug16475: remove stray (force-output t) |
... | ... |
@@ -1,16 +1,18 @@ |
1 | 1 |
#+(version= 8 0) |
2 |
-(sys:defpatch "mime" 0 |
|
3 |
- "v0: New module. See documentation." |
|
2 |
+(sys:defpatch "mime" 1 |
|
3 |
+ "v0: New module. See documentation.; |
|
4 |
+v1: Improve default transfer encoding determination." |
|
4 | 5 |
:type :system |
5 | 6 |
:post-loadable t) |
6 | 7 |
|
7 | 8 |
#+(version= 7 0) |
8 |
-(sys:defpatch "mime" 0 |
|
9 |
- "v0: New module. See documentation." |
|
9 |
+(sys:defpatch "mime" 1 |
|
10 |
+ "v0: New module. See documentation.; |
|
11 |
+v1: Improve default transfer encoding determination." |
|
10 | 12 |
:type :system |
11 | 13 |
:post-loadable t) |
12 | 14 |
|
13 |
-;; $Id: mime-api.cl,v 1.2 2006/02/03 23:25:17 layer Exp $ |
|
15 |
+;; $Id: mime-api.cl,v 1.3 2006/10/18 18:41:57 layer Exp $ |
|
14 | 16 |
|
15 | 17 |
(defpackage :net.post-office |
16 | 18 |
(:use #:lisp #:excl) |
... | ... |
@@ -152,9 +154,10 @@ |
152 | 154 |
|
153 | 155 |
(when (and (not multipart) (null encoding)) |
154 | 156 |
(if* textp |
155 |
- then (if* (equalp charset "us-ascii") |
|
157 |
+ then (if* (member charset '("us-ascii" "iso-2022-jp") |
|
158 |
+ :test #'equalp) |
|
156 | 159 |
then (setf encoding "7bit") |
157 |
- else (setf encoding "quoted-printable")) |
|
160 |
+ else (setf encoding "8bit")) |
|
158 | 161 |
else (setf encoding "base64"))) |
159 | 162 |
|
160 | 163 |
(setf (mime-part-type part) type) |