projects
/
kmrcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r5140: *** empty log message ***
[kmrcl.git]
/
strings.lisp
diff --git
a/strings.lisp
b/strings.lisp
index bf10d058b85d29ba1da086f9cbc00195ce58540b..08aec10ea8e92262ebcb92097ab5effab402f63c 100644
(file)
--- a/
strings.lisp
+++ b/
strings.lisp
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Apr 2000
;;;;
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Apr 2000
;;;;
-;;;; $Id: strings.lisp,v 1.4
1 2003/06/15 07:48:30
kevin Exp $
+;;;; $Id: strings.lisp,v 1.4
2 2003/06/15 13:49:42
kevin Exp $
;;;;
;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
;;;;
;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
@@
-392,11
+392,11
@@
for characters in a string"
(not (alphanumericp ch)))
(defvar +hex-chars+ "0123456789ABCDEF")
(not (alphanumericp ch)))
(defvar +hex-chars+ "0123456789ABCDEF")
-(declaim (type
(simple-array character 16)
+hex-chars+))
+(declaim (type
simple-string
+hex-chars+))
(defun hexchar (n)
(declare (type (integer 0 15) n))
(defun hexchar (n)
(declare (type (integer 0 15) n))
- (
aref
+hex-chars+ n))
+ (
schar
+hex-chars+ n))
(defun escape-uri-field (query)
"Escape non-alphanumeric characters for URI fields"
(defun escape-uri-field (query)
"Escape non-alphanumeric characters for URI fields"