Add US-ASCII unprintable control characters to the exlusion list per RFC2396 2.4.3
http://www.ietf.org/rfc/rfc2396.txt Adds to *excluded-characters*, with a test
This commit is contained in:
committed by
Kevin Rosenberg
parent
3d8bae190c
commit
1c76874430
10
tests.lisp
10
tests.lisp
@ -408,6 +408,16 @@
|
||||
:condition-type 'uri-parse-error)
|
||||
res)
|
||||
|
||||
|
||||
;;an escaped newline isn't rendered properly
|
||||
(push
|
||||
`(let ((weird-uri "https://example.com/q?foo%0abar%20baz"))
|
||||
(test
|
||||
weird-uri
|
||||
(puri:render-uri (puri:parse-uri weird-uri) nil)
|
||||
:test #'string=)
|
||||
) res)
|
||||
|
||||
`(progn ,@(nreverse res))))
|
||||
|
||||
(defun do-tests ()
|
||||
|
||||
Reference in New Issue
Block a user