From 409ffc1a2cf6a9c0066d1fed555d19bad6ae6706 Mon Sep 17 00:00:00 2001
From: "Kevin M. Rosenberg" <kevin@rosenberg.net>
Date: Mon, 7 Nov 2005 17:38:42 +0000
Subject: [PATCH] r10806: Automated commit for Debian build of puri
 upstream-version-1.3.1.3

---
 debian/changelog | 6 ++++++
 src.lisp         | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index eafc66b..4a08ee8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+cl-puri (1.3.1.3-1) unstable; urgency=low
+
+  * New upstream
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Mon,  7 Nov 2005 10:33:45 -0700
+
 cl-puri (1.3.1.2-2) unstable; urgency=low
 
   * Reupload with correct changelog date
diff --git a/src.lisp b/src.lisp
index 6e7bee1..a189331 100644
--- a/src.lisp
+++ b/src.lisp
@@ -900,6 +900,8 @@ URI ~s contains illegal character ~s at position ~d."
     (vector #\0 #\1 #\2 #\3 #\4 #\5 #\6 #\7 #\8 #\9 #\a #\b #\c #\d #\e #\f))
 
 (defun encode-escaped-encoding (string reserved-chars escape)
+  (unless (typep string 'simple-string)
+    (setq string (coerce string 'simple-string)))
   (when (null escape) (return-from encode-escaped-encoding string))
   ;; Make a string as big as it possibly needs to be (3 times the original
   ;; size), and truncate it at the end.
-- 
GitLab