1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: due to nodejs change, the code returned may be 400
Author: Yadd <yadd@debian.org>
Bug-Debian: https://bugs.debian.org/1106429
Forwarded: not-needed
Last-Update: 2025-05-25
--- a/test/test.js
+++ b/test/test.js
@@ -226,12 +226,6 @@
.expect(404, /<pre>Cannot GET \/%3Cla'me%3E<\/pre>/, done)
})
- it('should encode bad pathname characters', function (done) {
- rawrequest(createServer())
- .get('/foo%20ยง')
- .expect(404, /<pre>Cannot GET \/foo%20%C2%A7<\/pre>/, done)
- })
-
it('should fallback to generic pathname without URL', function (done) {
var server = createServer(function (req, res, next) {
req.url = undefined
|