git.fiddlerwoaroof.com
Browse code

bug18636: handle underscore character in quoted printable encoding

Kevin Layer authored on 30/09/2009 16:44:26
Showing 2 changed files
... ...
@@ -1,3 +1,8 @@
1
+2009-09-30  Kevin Layer  <layer@gemini.franz.com>
2
+
3
+	* mime-transfer-encoding.cl: bug18636: handle underscore
4
+	  character in quoted printable encoding
5
+
1 6
 2009-03-12  Mikel Bancroft  <mikel@gemini>
2 7
 
3 8
 	* rfe8602: add ssl/tls support to imap/pop module.
... ...
@@ -184,6 +184,8 @@
184 184
 					 then (return)
185 185
 					 else (out byte3))
186 186
 				 else (out value)))))
187
+	   elseif (eq byte #.(char-code #\_))
188
+	     then (out #.(char-code #\space))
187 189
 	     else (out byte)))
188 190
 	
189 191
 	t))))
... ...
@@ -260,6 +262,8 @@
260 262
 					 then (return)
261 263
 					 else (out byte3))
262 264
 				 else (out value)))))
265
+	   elseif (eq byte #.(char-code #\_))
266
+	     then (out #.(char-code #\space))
263 267
 	     else (out byte)))
264 268
 	
265 269
 	(values out start2)))))